OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: BasilBasil on June 02, 2021, 03:32:38 PM

Title: Freedns Updates now fail after update
Post by: BasilBasil on June 02, 2021, 03:32:38 PM
Updated over the weekend to:

PNsense 21.1.6-amd64
FreeBSD 12.1-RELEASE-p16-HBSD
OpenSSL 1.1.1k 25 Mar 2021

Only to find that Dynamic DNS with freedns has stopped working...

2021-06-02T13:11:21   config[74506]   /services_dyndns_edit.php: Dynamic DNS (----.com via freeDNS): _update() starting.   
2021-06-02T13:11:21   config[74506]   /services_dyndns_edit.php: Dynamic DNS (----.com): running dyndns_failover_interface for wan. found pppoe0   
2021-06-02T13:11:21   config[74506]   /services_dyndns_edit.php: Dynamic DNS (----.com):**IP** extracted   
2021-06-02T13:11:21   config[74506]   /services_dyndns_edit.php: Dynamic DNS: updatedns() starting
2021-06-02T13:11:23   config[74506]   /services_dyndns_edit.php: Dynamic DNS (----.com): (Unknown Response)   
2021-06-02T13:11:23   config[74506]       
2021-06-02T13:11:23   config[74506]   /services_dyndns_edit.php: Dynamic DNS (----..com): PAYLOAD: Error 404 : Page not found   
2021-06-02T13:11:23   config[74506]   /services_dyndns_edit.php: Dynamic DNS (----..com): Current Service: freedns   
2021-06-02T13:11:23   config[74506]   /services_dyndns_edit.php: Dynamic DNS (----..com): _checkStatus() starting.

This has been working perfectly up to that point, and having changed the key, reinstalled and deleted/re-entered the setup it still isn't working again.

Manually updating via the website works just fine.

What has broken?

Thanks!
Title: Re: Freedns Updates now fail after update
Post by: vamp on June 09, 2021, 12:12:05 PM
Same problem... Any idea?
Title: Re: Freedns Updates now fail after update
Post by: GerdLogan on June 09, 2021, 02:06:22 PM
The dyndns plugin was updated to utilize the FreeDNS v2 interface. Looks like that was then rolled out with 21.1.6.

v2 updates must be explicitely enabled in the FreeDNS account. This also gives a new (shorter) authentication token for the dyndns plugin.
Title: Re: Freedns Updates now fail after update
Post by: vamp on June 09, 2021, 08:16:46 PM
@GerdLogan

Working well thx!!!
Title: Re: Freedns Updates now fail after update
Post by: koushun on June 10, 2021, 09:11:21 AM
For anyone coming here looking for the same question;
just replace the password (your old token, which is stated if you use 'full help' within OPNsense) with the new randomized token (after you've enabled v2) from the corresponding DynDNS in your account - https://freedns.afraid.org/dynamic/v2/
Title: Re: Freedns Updates now fail after update
Post by: vamp on June 10, 2021, 01:44:23 PM
Quote from: koushun on June 10, 2021, 09:11:21 AM
For anyone coming here looking for the same question;
just replace the password (your old token, which is stated if you use 'full help' within OPNsense) with the new randomized token (after you've enabled v2) from the corresponding DynDNS in your account - https://freedns.afraid.org/dynamic/v2/

and leave the "username" field blank :)