-
Hello, I using DDNS-Updater with Cloudflare and it's working nicely. Great tool ! But, it's always unhealthy. At first it was failling to the fact that it was resolving mail.mydomain.com as the local IP instead of the real external IP. I had a static DNS entry in my firewall to help resolve the domains inside my LAN. I did't really understand why it was an issue as DDNS is using external website to resolve domain's IP, right ? So, I removed the static entry from my firewall but now it still fail with the following error : ERROR program is unhealthy: lookup mail.mydomain.com: no such host nslookup and/or external tools, resolve it correctly. Here is my config file : {
"settings": [
{
"provider": "cloudflare",
"zone_identifier": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"domain": "mydomain.com",
"host": "@, mail",
"ttl": 600,
"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"ip_version": "ipv4",
"ipv6_suffix": ""
}
]
} I certainly do something wrong.. Thank for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Are you running it as a binary program or in a docker container? Is your Cloudflare domain proxied or not? Have you tried setting the resolver address for example to 1.1.1.1? (see the readme on how to do it with a flag or environment variable).
Your public ip address is found using 3rd party websites such as ipinfo.io. Your domain name is resolved via DNS to get the dns record ip address, in order to check the public ip address and the dns record match or not. |
Beta Was this translation helpful? Give feedback.
-
I just updated my docker image today and issue is gone. Did you pushed a fix for it or is it just luck ? |
Beta Was this translation helpful? Give feedback.
I just updated my docker image today and issue is gone.
Did you pushed a fix for it or is it just luck ?