Git Product home page Git Product logo

dynroute's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dynroute's Issues

Erroring when running with -dbg

If I turn dbg option on, I get the below error. Without the debug option, everything works fine.

shell> dynroute -d some.domain.com -o -dbg

/volume1/@appstore/node/lib/node_modules/dynroute/dynroute.js:109
if (domain.indexOf(zone.name) > -1) {
^
TypeError: Object true has no method 'indexOf'
at updateDns.zoneId (/volume1/@appstore/node/lib/node_modules/dynroute/dynroute.js:109:26)
at Array.forEach (native)
at iterate (/volume1/@appstore/node/lib/node_modules/dynroute/dynroute.js:108:25)
at hostedZones.forEach.rootZone (/volume1/@appstore/node/lib/node_modules/dynroute/dynroute.js:99:15)
at process._tickCallback (node.js:415:13)

Sample aws user policy

Hopefully people won't use their admin account for every operation on aws. Would appreciate if you can update the readme.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "route53:ListHostedZones",
                "route53:ListResourceRecordSets",
                "route53:ChangeResourceRecordSets",
                "route53:CreateHostedZone",
                "route53domains:*"
            ],
            "Resource": [
                "*"
            ]
        }
    ]
}

Update default IP server... again

It seems that http://ip-address.herokuapp.com/ip.json is no longer available, but there is a new service at https://api.ipify.org?format=json with the same result format (info here; it claims to be here for a while). You may want to update the default.

util.js library is attempting to self-reference .exit() function

there are a couple of instance of

util.exit(errMsg);

which are actually referencing the built-in util library, but I think the intention is to reference the .exit() function defined in the module itself.

A fix would be to do something like this:

var ns = {};

ns.exit = function(s){
   //...
};

ns.otherFunction = function(){
   //...
   if (err){ 
      ns.exit("got an error"); 
   }
};

module.exports = ns;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.