mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-07-28 16:42:37 -04:00
Bug: The updater was flopping between by correct WAN IP and possibly an older one that was not correct #207
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 @sarg3nt on GitHub (Aug 16, 2022).
Originally assigned to: @qdm12 on GitHub.
584597d)My config:
Detail:
DDNS updater was constantly changing my IP registration with Cloudflare from the correct current WAN IP to an invalid (maybe older one?), then back to the correct one and back again to the old one, constantly flip flopping them.
At lease one of the http sources is no longer working and I have no idea how the DNS sources are supposed to know what my current IP is, that doesn't make sense to me.
I edited the config and set
PUBLICIP_FETCHERS=http(no dns) andPUBLICIP_HTTP_PROVIDERS=ifconfig,ipinfo,googleand that fixed it.Items that need fixed / improved:
PUBLICIP_FETCHERSare supposed to work. I don't get it and as part of the troubleshooting I set it tohttponly and I think that was part or all of the fix.opendnsentry which maps tohttps://diagnostic.opendns.com/myipaccording to your docs, no longer worksddnssis included. inPUBLICIP_HTTP_PROVIDERS@Bcjc3 commented on GitHub (Mar 25, 2023):
I stumble through all the same steps you did, then found your post here. I had the same issue, found the same opendns problem in the documentation, swapped PUBLICIP_FETCHERS and PUBLICIP_HTTP_PROVIDERS to the same settings. I am hoping it is still fixed for you, because it seems I am following in your same steps. I don't know where the other rouge IP addresses came from, but I can tell you it was not any of my previous ones. I filled a log full of +875 entries of swapping back and forth between some random addresses that I still don't know where they came from. I am going to keep an eye on mine to make sure I don't get the wrong IP address again.
@ajw107 commented on GitHub (Apr 29, 2023):
Don't know how helpful this is, but I also have this issue. I also noted the erroneous ip increments (i.e. goes from x.y.x.236 then x.y.z.237, etc) and I get some ipv6 addresses in there too, even though I have it set to ipv4 only.. I'm going to try without the dns method, as in here and see if this helps.
EDIT: Forgot to mention my provider is Gandi (as the others are Cloudflare) and I'm running it in a docker
@Bcjc3 commented on GitHub (May 5, 2023):
After a month of my previous modification, I can say it is working great! It hasn't changed to any other IP addresses, and all is looking good!
@qdm12 commented on GitHub (Jun 13, 2023):
If it still is failing, run it with
LOG_LEVEL=debugyou should get more information on where the program fishes out public ip information etc.It's special DNS queries just to get your ip back, nothing to do with your domain name provider really 😉
For example:
BTW side note, I just added the
opendnsoption along thegoogleandcloudflareoptions for DNS ip fetchers, inc12b7e50d7It is out from now on! Done in
baacd052ceDigging through dusty git commits, it was removed in
5557c32135because it was geo-blocking some users. I just removed it from the readme (looks like it didn't get removed properly) infeaac82c11@sarg3nt @ajw107 I suggest you try with the latest image, it might just work due to a few recent changes.
@qdm12 commented on GitHub (Jan 19, 2024):
Closing due to inactivity, feel free to comment and I'll re-open.