New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ddclient always tries to update even when there's been no change in IP #544
Comments
The cache is known to be broken but there is no capacity to fix it. There are other issues about this. |
so it seems here was the same problem? I have the same problem. (started with upgrading debian from 11.7 to 12) Running "sudo rm /var/cache/ddclient/ddclient.cache" and service restart does fix it? What's the current workaround? Edit: because of this problem, my provider blocked me and everything connected is offline. If this service is not running perfectly well (which it did the last years; thanks for your effort), I currently don't know what to do. |
that issue is way older. The cache on 3.10.0 is somewhat broken and I am currently do not have time allocated to fix that. |
That's what I get every time ddclient is running. It seems to work though. My domain address is updated and can be reached. But my provider blocks me, as to many requests (nochg) are running. (I call ddclient all 5 minutes My cache looks like: ` ddclient-3.10.0last updated at Sat Jun 17 16:10:44 2023 (1687011044)atime=1687011044,backupmx=0,custom=0,host=mydomain1.de,mtime=0,mx=,script=/nic/update,static=0,status=14,status-ipv4=noconnect,status-ipv6=noconnect,warned-min-error-interval=0,warned-min-interval=0,wildcard=0,wtime=0 mydomain1.de so it is updated, deleting it does not help. Only second domain has an (correct) ip address |
TL;DR: In ddclient-3.11.1 I still had this problem using Hello, I also had this problem that every time the daemon was executed, the request was made to change the URL in the DDNS. It seems that the program checks the previous IP from the cache using the Log (before)
Log (after)
Config
Cache
Hope it helps. (Not a perl programmer, this is not the best solution but I don't know how to find where is the root of the problem) |
Thanks @drodriguez-dev. I am also using
Your patch prevents these warnings. FWIW there is nothing in my log after patching and restarting, i.e. I don't get the |
Glad it helped.
Yes, the
|
How do I get ddclient 3.10 to only update when the IP address changes?
It always tries to update, almost always get's a "nochg" response from api.dynu.org.
The cache file updates every time and seems to indicate that everything's OK:
But the next time it runs it will say that the last update failed, try to do an update, and receive a 'nochg' response again.
Is a 'nochg' response considered a failure?
The text was updated successfully, but these errors were encountered: