plugins: Dynamic DNS (dyndns) - FreeDNS Update broken

Describe the bug The FreeDNS service will not update the IP anymore due to a broken URL. Teh first failure in my logs was on May 27 2021. The log shows a 404 error.

To Reproduce Steps to reproduce the behavior:

  1. Install the os-dyndns package
  2. Create a Dynamic DNS configuration in “Services->Dynamic DNS”
  3. Set Service type as “freeDNS”
  4. Set Interface to monotor as your WAN
  5. Set hostname to your freeDNS hostname
  6. Leave Username blank
  7. Set the freeDNS TOKEN as your password (can be found on the freeDNS website as your direct link or in the CURL script it generates for you)
  8. Save and Force update

Expected behavior The Dashboard app and FreeDNS site show your WAN IP as cached or as the A record.

Relevant log files From the /var/cache/dyndns_wan_MYDOMAIN_0.cache.debug 05-28-21 01:11:00 - (5542351) - [freedns] - Error 404 : Page not found

Environment OPNsense 21.1.6-amd64

Resolution The URL in plugins/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc is incorrect. Line 567 contains the URL https://sync.afraid.org/u/ This should be https://freedns.afraid.org/dynamic/update.php? For more info on the correct URL see: https://freedns.afraid.org/dynamic/ (Login required) When changed locally in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc this resolved the problem

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 29 (12 by maintainers)

Commits related to this issue

Most upvoted comments

If - for some reason - some people cannot update to freeDNS v2, then it could be an idea to provide both: “freeDNS v1” with the URL “https://freedns.afraid.org/dynamic/update.php?TOKENV1/” and a second “freeDNS v2” with the URL “https://sync.afraid.org/u/TOKENV2/”. That way, everyone could use the freeDNS version he wants …

Fair enough. However for me, freeDNS has always been reliable (five years using v1 and the last few weeks using v2), so I’m reluctant to switching services. I’m a big fan of “if it ain’t broke, don’t fix it”. And from my perspective, it’s not freeDNS that is broken.

If there are 2 versions offered the users have to inform themselves anyway. And if they can copy/paste a token they can copy/paste a URL. It’s offered right there on the FreeDNS website.

But either way is fine, both work for me. As long as it stops changing.