TooBug / dnspod-ddns

dnspod-ddns is a ddns updating tool of dnspod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dnspod-ddns

dnspod-ddns is a ddns updating tool of DNSPod. It was originally designed for use with node.js.

Download

You can install using Node Package Manager (npm):

npm install -g dnspod-ddns

Usage

dnspod-ddns is a command line tool. It will update your dns record after you execute the following. You can add it to crontab for continuously updating.

dnspod-ddns --dns-domain yourdomain.com --dns-host yourhost --user youremail --passwd yourpassword

Otherwise, you can run it in daemon mode.

dnspod-ddns --dns-domain yourdomain.com --dns-host yourhost --user youremail --passwd yourpassword --daemon

In some cases, you may want to resolve the name with your local IP instead of public IP. Just use --interface or -i to specify a network interface. The following code will use the IP address of the first network interface instead of public IP.

dnspod-ddns --dns-domain yourdomain.com --dns-host yourhost --user youremail --passwd yourpassword --interface 0

License

Copyright (c) 2012 Chao Shen. This software is licensed under the BSD License.

About

dnspod-ddns is a ddns updating tool of dnspod


Languages

Language:JavaScript 100.0%