Skip to content

ShellAddicted/DuckDNSUpdater

Repository files navigation

DuckDNSUpdater

A Python (unofficial) way to update www.duckdns.org records

Disclaimer

I'm not affiliated in any way with www.duckdns.org.
I just use their awesome service.

Setup

Create an account on www.duckdns.org, create one (or more) subdomain(s) and get your TOKEN.

$ git clone https://github.com/ShellAddicted/DuckDNSUpdater
$ cd DuckDNSUpdater
$ nano DuckDNSUpdaterSettings.json

Fill SubDomains and Token with your own values:
Example:

{
  "DuckDNS.org": {
    "Token": "2983a851-8e8d-48a4-9c93-0d1a276fadcb",
    "SubDomains": [
      "myawesomesubdomain",
      "anothersubdomain"
    ]
  },
  "LogPath": "./DuckDNSUpdaterLogs/"
}

Usage (manual)

just run it.

$ python3 ./DuckDNSUpdater.py

Usage (cron)

to continuously update your records
run $ crontab -e and add the following line:
(remember to set the correct the path)

*/15 * * * * python3 /home/shelladdicted/DuckDNSUpdater/DuckDNSUpdater.py

About

A Python way to update duckdns.org records

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages