NodeJS module to update no-ip and submit your AWS instance IP as a dynamic dns update request
DynupdateAWS NodeJS module to update no-ip and submit your AWS instance IP as a dynamic dns update request.
Because ecchymose in the nose. IP may change my friend and DNS has to be updated.
At AWS instance boot, you might want to send IP update to your no-ip DNS.
It works as a daemon and will trigger an DNS update when AWS IP instance is known.
Timer checks aws instance status about every 5 seconds, when public IP is provided, event is triggered and update request sent to no-ip.
Combined with https://github.com/chovy/node-startup on your aws instance, can be a great deal to avoid elastic IP.
npm install dynupdate-aws
node dynupdate-aws.js <AWS-accessKeyId> <AWS-secretAccessKey> <AWS-region> <AWS-instanceId> <NO-IP-auth> <NO-IP-hostname>
var dynupdateAws = require'dynupdate-aws';dynupdateAwsdaemonaccessKeyId: ''secretAccessKey:''region: ''instanceId: ''auth: ''hostname:''// process err;
instanceIdAWS instance id
authNO-IP user:password ( email / mdp )
okjob is done
nohostError Hostname supplied does not exist under specified account, client exit and require user to enter new login credentials before performing and additional request.
badauthError Invalid username password combination
badagentError Client disabled. Client should exit and not perform any more updates without user intervention.
!donatorError An update request was sent including a feature that is not available to that particular user such as offline options.
abuseError Username is blocked due to abuse. Either for not following our update specifications or disabled due to violation of the No-IP terms of service. Our terms of service can be viewed at http://www.noip.com/legal/tos. Client should stop sending updates.
911Error A fatal error on our side such as a database outage. Retry the update no sooner 30 minutes.
## LicenseThe MIT License (MIT)Copyright (c) 2013 Julien ValéryPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INTHE SOFTWARE.