Sign inSign up

xia1997x/controld-ddns-runner

By xia1997x

Updated almost 3 years ago

ddns service for controld dns service

Image
1

210

xia1997x/controld-ddns-runner repository overview

This program is no longer maintained! The reason is that i ported this project from bash to python!

To run the ddns runner for controld use the following command you may need to change some of the ENV variables

docker run --restart=always -d -e api_token="api-token-goes-here" -e controld_device_id="device-id-goes-here" -e sleep_value=300 xia1997x/controld-ddns-runner:latest

the sleep value is in seconds example 300s = 5min

to fetch your device id go to this website of controld

https://docs.controld.com/reference/get_devices

the response will look something like this

{
  "body": {
    "devices": [
      {
        "PK": "redacted",
        "ts": redacted,
        "name": "redacted",
        "device_id": "redacted", --> here is your device id
        "status": 0,
        "icon": "router-ubiquiti",
        "learn_ip": 1,
        "resolvers": {
          "uid": "redacted",
          "doh": "redacted",
          "dot": "redacted",
          "v4": [
            "redacted",
            "redacted"
          ],
          "v6": [
            "redacted",
            "redacted"
          ]
        },
        "legacy_ipv4": {
          "resolver": "redacted",
          "status": 1
        },
        "profile": {
          "PK": "redacted",
          "updated": redacted,
          "name": "Legacy Profile"
        }
      }
    ],
    "activity": false
  },
  "success": true
}

Tag summary

Content type

Image

Digest

sha256:f108d588b

Size

61.8 MB

Last updated

almost 3 years ago

docker pull xia1997x/controld-ddns-runner