oznu / docker-cloudflare-ddns

A small amd64/ARM/ARM64 Docker image that allows you to use CloudFlare as a DDNS / DynDNS Provider.
https://hub.docker.com/r/oznu/cloudflare-ddns/
GNU General Public License v3.0
1.07k stars 213 forks source link

Help troubleshooting this error #28

Closed lordraiden closed 4 years ago

lordraiden commented 4 years ago

How can I fix this? I have been hardening Cloudflare condiguration, the firewall is not blocking anything but is possible that some setting (TLS 1.3, HTTPS force...) is breaking the IP sync?

[cont-init.d] 50-ddns: exited 0. [cont-init.d] done. [services.d] starting services Starting crond... crond: crond (busybox 1.31.1) started, log level 6 [services.d] done. crond: USER root pid 248 cmd /etc/cont-init.d/50-ddns Updating CloudFlare DNS record XXXX.from XXXXX to ;; connection timed out; no servers could be reached... Updating CloudFlare DNS record XXXXXX from XXXXXXX to ;; connection timed out; no servers could be reached... ERROR: Failed to update CloudFlare DNS record XXXXXXXX from XXXXXto ;; connection timed out; no servers could be reached

clevernyyyy commented 4 years ago

FYI - I just got this error too. You wouldn't happen to be using Century Link or ATT would you?

https://www.reddit.com/r/centurylink/comments/8jq0kx/centurylink_wont_route_to_cloudflare_dns_1111/

You can probably edit this line, to something like this:

IP_ADDRESS=$(dig +short myip.opendns.com @resolver1.opendns.com | tr -d '"')
clevernyyyy commented 4 years ago

Hopefully this addresses the issue: https://github.com/oznu/docker-cloudflare-ddns/pull/30