Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

visual-ddns

0.1.3 • Public • Published

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

install

npm i visual-ddns

Downloadsweekly downloads

11

version

0.1.3

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar