Bug 12705 - DYDNS for freedns.afraid.org fails gives endless failure log entries
Summary: DYDNS for freedns.afraid.org fails gives endless failure log entries
Status: CLOSED NOTABUG
Alias: None
Product: DDNS Updater
Classification: Unclassified
Component: Core (show other bugs)
Version: unspecified
Hardware: x86_64 Unspecified
: - Unknown - Minor Usability
Assignee: Stefan Schantl
QA Contact: Michael Tremer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-10 14:01 UTC by Ian bryant
Modified: 2021-12-24 01:29 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian bryant 2021-10-10 14:01:47 UTC
freedns.afraid.org fails to update after coreupdate from 159 >> 160 gives endless log entries:
DDNSNotFound: Not found
Comment 1 Ian bryant 2021-10-10 14:04:03 UTC
Additionally adding an alternative provider; tested with  noip.com gives success and updates however but throws a log exception:

Dynamic DNS update for xxxxxx.hopto.org (NoIP) threw an unhandled exception: Traceback (most recent call last): File /usr/lib/python3.8/site-packages/ddns /system.py, line 272, in get_address return self.__addresses[proto] KeyErro r: ‘ipv4’ During handling of the above exception, another exception occurred: Traceback (most recent call last): File /usr/lib/python3.8/site-packages/ddns /init.py, line 178, in update entry(force=force) File /usr/lib/pyth on3.8/site-packages/ddns/providers.py, line 157, in call elif self.has failure or not self.requires_update: File /usr/lib/python3.8/site-packages/dd ns/providers.py, line 202, in requires_update if self.ip_address_changed(se lf.protocols): File /usr/lib/python3.8/site-packages/ddns/providers.py, line 270, in ip_address_changed current_address = self.get_address(proto) File /usr/lib/python3.8/site-packages/ddns/providers.py, line 329, in get_address return self.core.system.get_address(proto)
Comment 2 Ian bryant 2021-10-11 04:12:33 UTC
(In reply to Ian bryant from comment #0)
> freedns.afraid.org fails to update after coreupdate from 159 >> 160 gives
> endless log entries:

07:11:03	ddns[27635]:	Not Found
07:11:03	ddns[27635]:	DDNSNotFound: Not found
07:11:03	ddns[27635]:	Dynamic DNS update for xxxxxx.mooo.com (freedns.afraid.org) failed:
Comment 3 Giovanni Aneloni 2021-10-12 22:01:17 UTC
I can confirm the same issue with freedns.afraid.org on my setup after upgrading from 159 to 160.
Comment 4 Michael Tremer 2021-10-14 16:48:57 UTC
Does anyone have a longer log message or is what was already posted all that can be seen?
Comment 5 Giovanni Aneloni 2021-10-14 17:33:04 UTC
I've not anything more relvant in the logs.
If I invoke from cli "ddnsctrl update-all" the only reply is "DDNSNotFound: Not found"

Also I can confirm that it seems specific to freedns.afraid.org because I've tryed dedyn.io and it works fine
Comment 6 Michael Tremer 2021-10-14 17:55:15 UTC
In the last release, freedns.afraid.org was updated to their new API and it was reported back to us that it works fine. Looks like it doesn’t.
Comment 7 Michael Tremer 2021-10-20 09:42:12 UTC
> https://community.ipfire.org/t/dynamic-dns-doesnt-work-for-some-ddns-providers-after-core-update-159-160/6397/24?u=ms

Sounds like there is no bug here, just a confirmation issue on the provider side.
Comment 8 Ian bryant 2021-10-22 05:38:57 UTC
After changing the Token unfortunately the automatic update for freedns.afraid.org fails to update correctly on an Ip change 
If you run 
ddns -d update-all --force It runs correctly ,

However a normal IP change update fails to run and the log reports:

07:25:00 	ddns[27307]: 	Further updates will be withheld until 2021-10-22 16:20:04.595146
07:25:00 	ddns[27307]: 	DDNSUpdateError: The update could not be performed
07:25:00 	ddns[27307]: 	Last failure message:
07:25:00 	ddns[27307]: 	An update has not been performed because earlier updates failed for xxxxxx.mo oo.com

Itlooks like it is holding off the update for 12 hours irrespective of an ip change 

Br Ian
Comment 9 Jon 2021-12-24 01:29:02 UTC
All seems to work A-OK with Core Update 162. I needed to update freedns.afraid.org to Version 2 and change my token info. Once that was done it all worked as expected.

I also added a wiki page to help others with freedns.afraid.org:
wiki.ipfire.org - Additional info - FreeDNS