mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Bug: domain resolution results in another IP #270
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Master-Robot on GitHub (Apr 17, 2023).
Originally assigned to: @qdm12 on GitHub.
TLDR: public IP read wrong, constantly updating CF
Is this urgent: No
DNS provider(s) you use: Cloudflare
Program version:
Running version latest built on 2023-04-13T17:47:03Z (commit 519b9c4)What are you using to run the container: docker-compose
Extra information (optional)
DDNS updates CF with the correct IP (244.244.244.244) but for some reason, when it tries to find my IP, it reads the IP 2.2.2.2
Logs: this example on a loop
Configuration file (remove your credentials!):
Host OS:
debian 11
@qdm12 commented on GitHub (Apr 17, 2023):
What does
docker run -it --rm alpine:3.17 nslookup exemple.frgive you?2.2.2.2or244.244.244.244??@Master-Robot commented on GitHub (Apr 17, 2023):
I get 244.244.244.244 but CF has 2.2.2.2 and all of my services resolve correctly...
@Master-Robot commented on GitHub (Apr 17, 2023):
would it be because my CNAME is proxied to my A record?
@Master-Robot commented on GitHub (Apr 17, 2023):
Just realised that my A record is proxied through CF, so resolving the IP will stop at CF servers. CF then forwards connections through to my server after that so my IP is not exposed...
@qdm12 commented on GitHub (Jun 12, 2023):
You can use the
"proxied": trueoption for Cloudflare 😉