Skip to content

LancerComet/dnspoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnspoder

A simple Node.JS client for DNSPod.

Please note that this is almost designed for Chinese people. All the console outputs are CHS.

Usage

  1. git clone.
  2. 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.
  }
  1. node app
  2. Done.

Check source files for more detail.

License.

MIT @ LancerComet.