Bug: Local DNS rewrites result in unnecessary updates #551

Closed
opened 2025-11-20 04:24:52 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @XanderStrike on GitHub (Sep 17, 2025).

TLDR: I have a local DNS server that rewrites requests to my domain to the local server. This causes ddns-updater to constantly believe the remote DNS is outdated and send constant updates.

  1. Is this urgent: No
  2. DNS provider(s) you use: cloudflare
  3. Program version: 2024-12-24T09:20:36.130Z (commit 78f3061)
  4. What are you using to run the container: docker-compose

Maybe I missed it, but there should be a configuration option to use a fixed remote DNS instead of the network default.

Logs:

ddns-updater  | 2025-09-17T16:54:04Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T16:54:04Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:04:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:04:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:14:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:14:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:24:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:24:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:34:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:34:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:44:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:44:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:54:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T17:54:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T18:04:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T18:04:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T18:14:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T18:14:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T18:24:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T18:24:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T18:34:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx
ddns-updater  | 2025-09-17T18:34:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx

Configuration file (remove your credentials!):

{
  "settings": [
    {
      "provider": "cloudflare",
      "zone_identifier": "xxx",
      "domain": "mydomain.com",
      "host": "@",
      "ttl": 600,
      "token": "xxx",
      "ip_version": "ipv4",
      "ipv6_suffix": ""
    }
  ]
}

Host OS: docker on ubuntu

Originally created by @XanderStrike on GitHub (Sep 17, 2025). **TLDR**: I have a local DNS server that rewrites requests to my domain to the local server. This causes ddns-updater to constantly believe the remote DNS is outdated and send constant updates. 1. Is this urgent: No 2. DNS provider(s) you use: cloudflare 3. Program version: `2024-12-24T09:20:36.130Z (commit 78f3061)` 4. What are you using to run the container: docker-compose Maybe I missed it, but there should be a configuration option to use a fixed remote DNS instead of the network default. Logs: ```log ddns-updater | 2025-09-17T16:54:04Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T16:54:04Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:04:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:04:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:14:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:14:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:24:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:24:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:34:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:34:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:44:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:44:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:54:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T17:54:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T18:04:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T18:04:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T18:14:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T18:14:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T18:24:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T18:24:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T18:34:03Z INFO ipv4 address of mydomain.com is 192.168.0.57 and your ipv4 address is xxx.xxx.xxx.xxx ddns-updater | 2025-09-17T18:34:03Z INFO Updating record [domain: mydomain.com | owner: @ | provider: cloudflare | ip: ipv4] to use xxx.xxx.xxx.xxx ``` Configuration file (**remove your credentials!**): ```json { "settings": [ { "provider": "cloudflare", "zone_identifier": "xxx", "domain": "mydomain.com", "host": "@", "ttl": 600, "token": "xxx", "ip_version": "ipv4", "ipv6_suffix": "" } ] } ``` Host OS: docker on ubuntu
Author
Owner

@XanderStrike commented on GitHub (Sep 17, 2025):

My bad, found https://github.com/qdm12/ddns-updater/issues/389

@XanderStrike commented on GitHub (Sep 17, 2025): My bad, found https://github.com/qdm12/ddns-updater/issues/389
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#551