Giter VIP home page Giter VIP logo

asuswrt-merlin-ddns-dnspod's Introduction

asuswrt-merlin-ddns-dnspod

DNSPod DDNS update script for Asuswrt-Merlin

Read this in other languages: English, 简体中文.

Usage

  1. Download the ddns-start script to /jffs/scripts/.

    wget https://raw.githubusercontent.com/huxuan/asuswrt-merlin-ddns-dnspod/master/ddns-start -P /jffs/scripts/
  2. Modify the parameters in the script accordingly. More detailed information please refer to the Parameter Specification.

  3. Last but not least, ensure the script is executable.

    chmod +x /jffs/scripts/ddns-start

Parameter Specification

  1. DDNS_DOMAIN

    The domain name without subdomain, e.g., example.com.

  2. DDNS_SUB_DOMAIN

    Only the subdomain part, e.g., www.

  3. DNSPOD_LOGIN_TOKEN

    The token for authorization to modify the DNS record on DNSPod. Note that it is a combination of ID and Token, so it looks like 13490,6b5976c68aba5b14a0558b77c17c3932.

  4. DNSPOD_RECORD_ID

    The ID of the DNS record. Just fill the following command with the proceeding parameters and the record ids (only one usually) will return.

    This is a one-time effort so I pick it out intentionally so as not to run it every time within ddns-start script.

    curl -x POST https://dnsapi.cn/Record.List \
    -d login_token=<YOUR_DDNS_LOGIN_TOKEN> \
    -d domain=<YOUR_DDNS_DOMAIN> \
    -d sub_domain=<YOUR_DDNS_SUB_DOMAIN> \
    -d format=json
  5. DNSPOD_RECORD_LINE_ID

    The allowed line's ids for the domain's DNS record. This is mostly used for dynamic DNS policy for different ISPs, for general usage, just use the default value 0.

asuswrt-merlin-ddns-dnspod's People

Contributors

huxuan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.