node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

visual-ddns

node-visual-ddns

Dynamic DNS register for VisualDNS.net

It was specifically implemented in order to update the A entries based on the current Internet public IP. Ideally for home servers

Installation

You must have previously installed node.js

$ npm install -g visual-ddns

Usage

Create the config file

{
  "token": "<VisualDNS API token>",
  "domains": [
    { "name": "mydomain.net", "type": "A", "TTL": 3600 }
  ]
}

Usage

$ visual-ddns -c config.json

Scheudle it in crontab every 15 minutes

*/15 * * * * visual-ddns -c /etc/visual-ddns/config.json >> /var/log/visual-ddns.log

License

MIT © Tomas Aparicio