Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nylen/scripts-dyndns
Scripts that assist with updating a DynDNS hostname and other related tasks.
https://github.com/nylen/scripts-dyndns
Last synced: 6 days ago
JSON representation
Scripts that assist with updating a DynDNS hostname and other related tasks.
- Host: GitHub
- URL: https://github.com/nylen/scripts-dyndns
- Owner: nylen
- Created: 2014-07-31T16:19:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-02-12T05:41:10.000Z (almost 7 years ago)
- Last Synced: 2024-10-16T00:30:57.338Z (about 1 month ago)
- Language: Perl
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/joyent/node/wiki/Installation)
if you haven't already.## Installation
Install `curl` and the following Perl modules (for example, using your package
manager or
[CPAN Minus](https://github.com/miyagawa/cpanminus)):- `Getopt::Long::Descriptive`
- `LWP::UserAgent`
- `Net::DNS::Resolver`Then:
sudo npm install -g scripts-dyndns
Similarly, to uninstall:
sudo npm rm -g scripts-dyndns
## Scripts
### 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 information
```Example usage:
```
update-dyndns \
-u dyndnsuser \
-p dyndnspass \
-i `get-external-ip` \
-d mydomain.com
```### get-external-ip
Retrieves the current IP address from an external server.