0.0.2 • Published 8 years ago
scripts-dyndns v0.0.2
scripts-dyndns
This package provides scripts that assist with updating a DynDNS hostname and other related tasks.
The scripts are packaged using npm for convenience, so you'll need to
install Node.js
if you haven't already.
Installation
Install curl and the following Perl modules (for example, using your package
manager or
CPAN Minus):
Getopt::Long::DescriptiveLWP::UserAgentNet::DNS::Resolver
Then:
sudo npm install -g scripts-dyndnsSimilarly, to uninstall:
sudo npm rm -g scripts-dyndnsScripts
update-dyndns
Updates the IP address associated with a DynDNS hostname.
update-dyndns [-?dhipuv] [long options...]
-v --verbose Show debug output
-u --username DynDNS username
-p --password DynDNS password
-i --ip New IP address
-d --domain Domain to update
-? -h --help Show usage informationExample usage:
update-dyndns \
-u dyndnsuser \
-p dyndnspass \
-i `get-external-ip` \
-d mydomain.comget-external-ip
Retrieves the current IP address from an external server.