To obtain your access key and domain ID:
- Go to https://www.dynu.com/en-US/ControlPanel/APICredentials.
- In "API Credentials" section, click "View" icon in Action column for API Key.
- The key is now displayed. Use it as accessKey in settings.json.
- In a command window, run 'curl https://api.dynu.com/v2/dns -H "API-Key:ACCESSKEY"'. If not already installed, curl can be downloaded from https://curl.se/windows/.
- The returned string is in JSON format. Under "domains", each domain entry comes with id, name, along with other properties. Find the id value for the domain name you want to update.
- Use this id as domainID in settings.json.
API to update IP address:
POST https://api.dynu.com/v2/dns/{DOMAINID}
Header: "API-Key: {ACCESSKEY}"
Body: { "name": "{DOMAINNAME}"[, "ipv4Address": "ddd.ddd.ddd.ddd"][, "ipv6Address": "xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx"] }
To enable programmically updating DNS entry and obtain your access key:
- Go to https://freedns.afraid.org/dynamic/v2/.
- Select the domain(s) you want to enable.
- Make sure you select "Enable Dynamic DNS..." in Action dropdown list.
- Click "Apply" button.
- These domains should now appear under "Active dynamic entries" section.
- For the domain you want to update, grab the API key in the URL shown in the last column. It is the last segment in the URL displayed, i.e. http://sync.afraid.org/u/{ACCESSKEY}/.
- Use this key as accessKey in settings.json.
- domainID in settings.json is not needed. FreeDNS assigns unique API key per domain.
API to update IP address:
GET http://[v6.]sync.afraid.org/u/{ACCESSKEY}/?ip=[ddd.ddd.ddd.ddd][xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]
To obtain your access key and domain ID:
- Go to https://www.duckdns.org/
- "token" displayed on this page (near the top) is the API token. Use it as accessKey in settings.json.
- Domains are listed below. The first column is domain ID. It is essentially the subdomain name in DOMAINID.duckdns.org.
- Use this id as domainID in settings.json.
API to update IP address:
To obtain your access key:
-
Your access key is either your account username:password, or API username:password which can be found here: https://ydns.io/user/api.
For example, if your email is "[email protected]" and password is "MySuperSecretPwd" then use "[email protected]:MySuperSecretPwd" as accessKey in settings.json.
-
domainID in settings.json is not needed. YDNS uses domain name to update.
API to update IP address:
Header: "Authorization: Basic {base64-encoded ACCESSKEY}"
To obtain your access key:
- Your access key is username:password. See YDNS section for example.
- domainID in settings.json is not needed. NoIP uses domain name to update.
API to update IP address:
Header: "Authorization: Basic {base64-encoded ACCESSKEY}"