A simple Node.JS client for DNSPod.
Please note that this is almost designed for Chinese people. All the console outputs are CHS.
- git clone.
- Setup your domain and account in "config.js".
module.exports = {
token: '', // This is the TOKEN of your DNSPod account.
domain: '', // Example: "yourdomain.com"
subname: '', // Example: "app". Then it will update "app.yourdomain.com".
ip: '', // Target IP Address. Example: "172.16.0.1". Dnspoder will get ip itself.
interval: 1000 * 60 * 60 // Update interval.
}
node app
- Done.
Check source files for more detail.
MIT @ LancerComet.