qdm12 / ddns-updater

Container to update DNS records periodically with WebUI for many DNS providers
https://hub.docker.com/r/qmcgaw/ddns-updater/
MIT License
1.46k stars 146 forks source link

Bug: Healthcheck unhealty - Cloudflare - Successful IP change #652

Closed marvintnk closed 4 months ago

marvintnk commented 4 months ago

TLDR: The container health check states unhealty, although the IP gets changed succesfully.

  1. Is this urgent: No
  2. DNS provider(s) you use: Cloudfare
  3. Program version: version latest built on 2024-02-13T10:44:47.174Z (commit 6a6b1a8)
  4. What are you using to run the container: docker-compose
  5. Extra information: Maybe related to #556 . I already repulled latest, but nothing changed.

Logs:

2024-02-16T14:21:47Z ERROR program is unhealthy: lookup IP addresses do not match: 

Configuration file:

{
  "settings": [
    {
      "provider": "cloudflare",
      "zone_identifier": "05abbb75eccbe510f44e12c3ab7fd1fd",
      "domain": "my-domain.de",
      "host": "@",
      "ttl": 600,
      "token": "supersecrettoken",
      "ip_version": "ipv4"
    }
  ]
}

Host OS: Ubuntu 22.04

image

qdm12 commented 4 months ago

Are you using Cloudflare proxy? If so you need to turn on "proxied": true. That's how it looks like, given it says in the UI 4m39s ago, so I guess it retries to update very 5 minutes.

marvintnk commented 4 months ago

Yes, that was it 💯 Thank you very much :)