HI, When updating ddns, Checked logs and one space used to add while update, and that is the issue.
space use to add in different places, middle, after 1 word or after two or 4 etc.
Which Core Update version of IPFire are you using and which DDNS supplier. I have looked at my logs and I can not find any spaces as you have shown. I am using dyndns.org on Core Update 178
The logs are being shown from the WUI menu page Logs - System Logs
It might be that the parsing of the actual logs to extract the DDNS logs is causing an extraneous space to be inserted.
Can you check if the same space is in the actual syslog from the console or an ssh terminal.
less /var/messages/ | grep ddns
EDIT:
I went back to February 2023 in my logs and I had a long error message due to an unhandled exception in python. This log line had occasional locations were a space had been entered on the WUI Logs - system logs menu page.
Looking at the same message in the /var/log/messages syslog file those spaces are not present.
So the spaces are related to the parsing of the logs for the System Logs page and not in the actual logs.
Therefore I think the space has nothing to do with your DDNS Authentication Error.
Whatever caused the Authentication Error the ddns script is not trying a further update until the defined time to prevent multiple failures to the DDNS supplier.
If you search through that log you should be able to find an entry for each of the DDNS names that shows when the DDNS Authentication Error actually occurred. It might show more details on what the problem causing the error was.
Aug 26 13:05:56 ipfire ddns[1463]: Unauthorized
Aug 26 13:05:57 ipfire ddns[1463]: Dynamic DNS update for ipfire.example.com- (NoIP) successful
Aug 26 13:07:03 ipfire ddns[1607]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:07:03 ipfire ddns[1607]: Last failure message:
Aug 26 13:07:03 ipfire ddns[1607]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:07:03 ipfire ddns[1607]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:07:04 ipfire ddns[1607]: Dynamic DNS update for ipfire.example.com- (NoIP) successful
Aug 26 13:08:14 ipfire ddns[1714]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:08:14 ipfire ddns[1714]: Last failure message:
Aug 26 13:08:14 ipfire ddns[1714]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:08:14 ipfire ddns[1714]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:08:15 ipfire ddns[1714]: Dynamic DNS update for ipfire.example.com- (NoIP) successful
Aug 26 13:08:53 ipfire ddns[1786]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:08:53 ipfire ddns[1786]: Last failure message:
Aug 26 13:08:53 ipfire ddns[1786]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:08:53 ipfire ddns[1786]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:08:55 ipfire ddns[1786]: Dynamic DNS update for ipfire.example.com- (NoIP) successful
Aug 26 13:10:00 ipfire ddns[1913]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:10:00 ipfire ddns[1913]: Last failure message:
Aug 26 13:10:00 ipfire ddns[1913]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:10:00 ipfire ddns[1913]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:10:01 ipfire ddns[1913]: Dynamic DNS update for ipfire.example.com- (NoIP) successful
Aug 26 13:10:42 ipfire ddns[2083]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:10:42 ipfire ddns[2083]: Last failure message:
Aug 26 13:10:42 ipfire ddns[2083]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:10:42 ipfire ddns[2083]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:10:49 ipfire ddns[2083]: Dynamic DNS update for ipfire.example.com- (NoIP) failed:
Aug 26 13:10:49 ipfire ddns[2083]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:10:49 ipfire ddns[2083]: Unauthorized
Aug 26 13:12:40 ipfire ddns[2282]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:12:40 ipfire ddns[2282]: Last failure message:
Aug 26 13:12:40 ipfire ddns[2282]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:12:40 ipfire ddns[2282]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:12:40 ipfire ddns[2282]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:12:40 ipfire ddns[2282]: Last failure message:
Aug 26 13:12:40 ipfire ddns[2282]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:12:40 ipfire ddns[2282]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:13:05 ipfire ddns[2364]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:13:05 ipfire ddns[2364]: Last failure message:
Aug 26 13:13:05 ipfire ddns[2364]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:13:05 ipfire ddns[2364]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:13:05 ipfire ddns[2364]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:13:05 ipfire ddns[2364]: Last failure message:
Aug 26 13:13:05 ipfire ddns[2364]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:13:05 ipfire ddns[2364]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:13:16 ipfire ddns[2390]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:13:16 ipfire ddns[2390]: Last failure message:
Aug 26 13:13:16 ipfire ddns[2390]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:13:16 ipfire ddns[2390]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:13:16 ipfire ddns[2390]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:13:16 ipfire ddns[2390]: Last failure message:
Aug 26 13:13:16 ipfire ddns[2390]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:13:16 ipfire ddns[2390]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:13:43 ipfire ddns[2459]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:13:43 ipfire ddns[2459]: Last failure message:
Aug 26 13:13:43 ipfire ddns[2459]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:13:43 ipfire ddns[2459]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:13:43 ipfire ddns[2459]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:13:43 ipfire ddns[2459]: Last failure message:
Aug 26 13:13:43 ipfire ddns[2459]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:13:43 ipfire ddns[2459]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:15:00 ipfire ddns[2570]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:15:00 ipfire ddns[2570]: Last failure message:
Aug 26 13:15:00 ipfire ddns[2570]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:15:00 ipfire ddns[2570]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:15:00 ipfire ddns[2570]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:15:00 ipfire ddns[2570]: Last failure message:
Aug 26 13:15:00 ipfire ddns[2570]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:15:00 ipfire ddns[2570]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:16:09 ipfire ddns[2796]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:16:09 ipfire ddns[2796]: Last failure message:
Aug 26 13:16:09 ipfire ddns[2796]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:16:09 ipfire ddns[2796]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:16:09 ipfire ddns[2796]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:16:09 ipfire ddns[2796]: Last failure message:
Aug 26 13:16:09 ipfire ddns[2796]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:16:09 ipfire ddns[2796]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:16:25 ipfire ddns[2824]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:16:25 ipfire ddns[2824]: Last failure message:
Aug 26 13:16:25 ipfire ddns[2824]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:16:25 ipfire ddns[2824]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:16:25 ipfire ddns[2824]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:16:25 ipfire ddns[2824]: Last failure message:
Aug 26 13:16:25 ipfire ddns[2824]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:16:25 ipfire ddns[2824]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:16:39 ipfire ddns[2851]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:16:39 ipfire ddns[2851]: Last failure message:
Aug 26 13:16:39 ipfire ddns[2851]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:16:39 ipfire ddns[2851]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:16:39 ipfire ddns[2851]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:16:39 ipfire ddns[2851]: Last failure message:
Aug 26 13:16:39 ipfire ddns[2851]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:16:39 ipfire ddns[2851]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:17:18 ipfire ddns[2962]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:17:18 ipfire ddns[2962]: Last failure message:
Aug 26 13:17:18 ipfire ddns[2962]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:17:18 ipfire ddns[2962]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:17:18 ipfire ddns[2962]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:17:18 ipfire ddns[2962]: Last failure message:
Aug 26 13:17:18 ipfire ddns[2962]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:17:18 ipfire ddns[2962]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:17:35 ipfire ddns[3003]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:17:35 ipfire ddns[3003]: Last failure message:
Aug 26 13:17:35 ipfire ddns[3003]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:17:35 ipfire ddns[3003]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:17:35 ipfire ddns[3003]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:17:35 ipfire ddns[3003]: Last failure message:
Aug 26 13:17:35 ipfire ddns[3003]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:17:35 ipfire ddns[3003]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:17:40 ipfire ddns[3020]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:17:40 ipfire ddns[3020]: Last failure message:
Aug 26 13:17:40 ipfire ddns[3020]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:17:40 ipfire ddns[3020]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:17:40 ipfire ddns[3020]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:17:40 ipfire ddns[3020]: Last failure message:
Aug 26 13:17:40 ipfire ddns[3020]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:17:40 ipfire ddns[3020]: Further updates will be withheld until 2023-08-26 22:05:56.521714
[root@ipfire ~]#
[root@ipfire ~]# tail -f /var/log/messages | grep ddns
Aug 26 13:20:45 ipfire ddns[3400]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:20:45 ipfire ddns[3400]: Last failure message:
Aug 26 13:20:45 ipfire ddns[3400]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:20:45 ipfire ddns[3400]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:20:45 ipfire ddns[3400]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:20:45 ipfire ddns[3400]: Last failure message:
Aug 26 13:20:45 ipfire ddns[3400]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:20:45 ipfire ddns[3400]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:22:05 ipfire ddns[3561]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:22:05 ipfire ddns[3561]: Last failure message:
Aug 26 13:22:05 ipfire ddns[3561]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:22:05 ipfire ddns[3561]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:22:05 ipfire ddns[3561]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:22:05 ipfire ddns[3561]: Last failure message:
Aug 26 13:22:05 ipfire ddns[3561]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:22:05 ipfire ddns[3561]: Further updates will be withheld until 2023-08-26 22:05:56.521714
Aug 26 13:22:08 ipfire ddns[3576]: An update has not been performed because earlier updates failed for ipfire.example.com-
Aug 26 13:22:08 ipfire ddns[3576]: Last failure message:
Aug 26 13:22:08 ipfire ddns[3576]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:22:08 ipfire ddns[3576]: Further updates will be withheld until 2023-08-26 22:10:44.031675
Aug 26 13:22:08 ipfire ddns[3576]: An update has not been performed because earlier updates failed for home.example.com-
Aug 26 13:22:08 ipfire ddns[3576]: Last failure message:
Aug 26 13:22:08 ipfire ddns[3576]: DDNSAuthenticationError: Authentication against the server has failed
Aug 26 13:22:08 ipfire ddns[3576]: Further updates will be withheld until 2023-08-26 22:05:56.521714
I tried with group username like (group:abc@gmail.com-, group#abc@gmail.com-) and without group, like abc@gmail.com-
none of them worked.
the same hosts, I can update with other OS or DDNS client
I put (- at the end link com, because due to new user BB is not accepting more than 3 url links in a post)
and spaces were not show in logs here.
I tried to udpate with
ddns -d update-all --force
and it worked fine with username including group and without… both are updated successfully
and then has the message that an attempt will not be carried out until a certain time has passed.
The attempts are occurring around every minute. This is not being done via the IPFire fcrontab command which does the updates every 5 minutes.
I am presuming that you have been manually pressing the instant update button around every minute.
I don’t know but may be noip does not like having update requests too frequently and after a certain number of them from the same IP it no longer authorises the authentication.
According to your logs home.example.com has to wait until 22:05:56 today evening before any update is attempted. ipfire.example.com has to wait until 22:10:44 before any update is attempted.
I would suggest that rather than trying to force the system to update more frequently than it normally would you should wait until 22:05 and 22:10 and see if the update occurs again once the timeout has passed and is successful once again or if it fails again.
Thank you for your time, and I saw in other instance, it was updating in a normal way, (few days ago).
I will wait and check tomorrow, I changed IP manually to 1.1.1.1, hope it will be updated till tomorrow.
I am not able to find suitable words to thank you, I am really very much thankful to you, you gave me a lot of time, and you read those logs, which is not an easy thing (at-least for me).
Bundles of thanks,
My impression is, that the webinterface may cause the errors. Do you have any ideas what may break the webinterface?
Edit: the Hostname becomes green after a while. So the error exists only when creating the DDNS entry via the web interface, where possibly a space is inserted? After a push via “ddns -d update-all --force” it works.
I think there is some problem with freedns.afraid.com.
Both the ddns update in IPFire and the freedns page show the right IP for my host name.
But a dig gives no result. The DDNS page does a DNS lookup with gethostbyname.
EDIT: Another thing. In searching for the cause of the problem I found that my account on freedns was deactivated. After reactivate and some time the address is green and a dig gives me the address record. @colombo , maybe you have the same problem.
Thanks for your fast reply. For the free freedns.afraid.com account you have to log in once a year or so to keep it active. However, this is not the case for the paid freedns.afraid.com account. dig is also working fine, maybe you have a problem with your dns servers?
However I found another server in my network that updated the ddns entry to a local address, which may have caused the problem. I disabled the ddns on that server. I’ll let the ddns on ipfire run for a few days and then set up the ddns entry again to see if the problem persists.
My ddns page now shows green for my freedns host name.
A deactivated freedns account and a false DNS information yield the same DNS answers, I think.
Therefore after some time your DDNS page should also go green, if unbound knows the freedns info only.