mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Help: Update interval not matching update times #67
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 @jsilvagi on GitHub (Oct 5, 2020).
TLDR: Updates upon startup, does not do periodic update, no matter the interval.
I assume the time at the end is the time it last sent an update? The only time it resets is after I restart the container and it does not update on that interval. I have tried mins, hours, and even leaving it blank. Any thoughts?
Is this urgent?
What DNS service provider(s) are you using?
What's the version of the program?
Running version latest built on 2020-10-04T14:38:55Z (commit
e630dd9)What are you using to run the container?
Extra information
Logs:
Configuration file:
Host OS:
Ubuntu 20.04.1 LTS
@qdm12 commented on GitHub (Oct 5, 2020):
Thanks for the detailed issue!
By default, it does a DNS lookup to compare the current IP address for your domain with your public IP address. It does check your public IP address periodically though. If these mismatch, then an update is made. Otherwise, it waits for the next period to recheck your public IP address and do a DNS lookup of your domain.
This is so to limit the number of calls to the DNS providers as some of them block you if you send too many requests.
I don't recall exactly why the first run sends an update request, that should probably be changed to follow the same logic. Let's keep the issue opened for that one.
What you can try is to manually change your A record to 127.0.0.1 and wait to see if it gets updated by the container (it should I hope haha). Let me know of I missed out something else.
@jsilvagi commented on GitHub (Oct 5, 2020):
That covers it, thank you for the quick response. I figured it was working as intended, just the time was confusing. I am using this for a remote location that I won't have easy access to, so I wanted to make sure it was all working correctly.
Thanks for this app, was a perfect solution for me!
@qdm12 commented on GitHub (Oct 5, 2020):
🎉 Thanks for the donation! I'm also running that container at a "remote location that I won't have easy access to", also known as mother's place on another continent haha! So I feel you...
But it has been keeping my DNS records updated so far. Just let me know in case you use IPv6, the container should work but it's not thoroughly tested it for it.
@jsilvagi commented on GitHub (Oct 6, 2020):
No problem, well earned! This has solved a big issue for me. I have had it running for a couple weeks already and it has been working fine, but an internet outage made me look at things deeper and wanted to understand how the updates occurred. Thanks again!
@qdm12 commented on GitHub (Dec 9, 2020):
Hey I just wanted to check if it has been working fine so far? 🤔
I also checked the logic, and it is supposed to update your records at start only if the IP address changed from either the DNS lookup or the persisted data (if
no_dns_lookupis specified).@jsilvagi commented on GitHub (Mar 14, 2021):
It has been working great, thanks!
On Sat, Dec 26, 2020 at 1:58 PM Quentin McGaw @.***>
wrote:
@qdm12 commented on GitHub (Mar 14, 2021):
Thanks for letting me know! Enjoy!
PS: I'm working on a new UI, make sure to follow github releases 😉