ddns-updater icon indicating copy to clipboard operation
ddns-updater copied to clipboard

Bug: The updater was flopping between by correct WAN IP and possibly an older one that was not correct

Open sarg3nt opened this issue 2 years ago • 0 comments

  1. Is this urgent: Maybe?
  2. DNS provider(s) you use: Cloudflare
  3. Program version: Running version latest built on 2022-03-15T14:38:50Z (commit 584597d)
  4. What are you using to run the container: Unraid

My config:

{
  "settings": [
    {
      "provider": "cloudflare",
      "zone_identifier": "<redacted>",
      "domain": "sarge.info",
      "host": "@",
      "ttl": 600,
      "token": "<redacted>",
      "ip_version": "ipv4"
    },
    {
      "provider": "cloudflare",
      "zone_identifier": "<redacted>",
      "domain": "sarge.systems",
      "host": "@",
      "ttl": 600,
      "token": "<redacted>",
      "ip_version": "ipv4"
    }
  ]
}

Detail:

DDNS updater was constantly changing my IP registration with Cloudflare from the correct current WAN IP to an invalid (maybe older one?), then back to the correct one and back again to the old one, constantly flip flopping them. At lease one of the http sources is no longer working and I have no idea how the DNS sources are supposed to know what my current IP is, that doesn't make sense to me. I edited the config and set PUBLICIP_FETCHERS=http (no dns) and PUBLICIP_HTTP_PROVIDERS=ifconfig,ipinfo,google and that fixed it.

Items that need fixed / improved:

  1. The docs don't go into how the DNS PUBLICIP_FETCHERS are supposed to work. I don't get it and as part of the troubleshooting I set it to http only and I think that was part or all of the fix.
  2. The opendns entry which maps to https://diagnostic.opendns.com/myip according to your docs, no longer works
  3. The container throws errors if ddnss is included. in PUBLICIP_HTTP_PROVIDERS

sarg3nt avatar Aug 16 '22 19:08 sarg3nt