OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: mircsicz on May 28, 2021, 05:38:25 pm

Title: [SOLVED] No-IP Update broke with 21.1.6 (os-dyndns 1.24)
Post by: mircsicz on May 28, 2021, 05:38:25 pm
After upgrading from 21.1.5 to .6 last night No-IP do no longer work...

First thing I recognized were broken IPsec Tunnels, then I tried to SSH in and got timeouts. So I used anydesk to check on the webif's from the other side of the WAN...

I could see that the "Cached IP" is red, so I tried a forced Update, here's what the log said:
Code: [Select]
May 28 15:57:16 router config[49757]: /services_dyndns_edit.php: Dynamic DNS (my.dns.xx): (Unknown Response)
or during bootup (right after the upgrade):
Code: [Select]
May 28 03:22:50 router opnsense[11052]: /usr/local/etc/rc.newwanip: Dynamic DNS (my.dns.xx): (Unknown Response)

So I tried setting the passwd, and got success, at least I thought so, the WebIF told me that it updated the cached IP to the actual WAN-IP...

Now I just realized I still can't SSH into the router, so I pinged and saw that No-IP still holds the old IP... Double checked their WebIF which stat's the same.

OPNsense Plugin WebIF seems happy with changed cached-IP but No-Ip doesn't get/receive that change!

@franco hope you've got a hint... ;-)
Title: Re: No-IP Update broke with 21.1.6
Post by: mircsicz on May 28, 2021, 05:48:27 pm
Here's the full log of a "force Upgrade" run with verbose logging activated:

Code: [Select]
May 28 17:43:59 router config[29630]: /services_dyndns_edit.php: Dynamic DNS: updatedns() starting
May 28 17:43:59 router config[29630]: /services_dyndns_edit.php: Dynamic DNS (my.ddns.xx): 217.225.xxx.yyy extracted
May 28 17:43:59 router config[29630]: /services_dyndns_edit.php: Dynamic DNS (my.ddns.xx): running dyndns_failover_interface for opt1. found pppoe0
May 28 17:43:59 router config[29630]: /services_dyndns_edit.php: Dynamic DNS (my.ddns.xx via No-IP): _update() starting.
May 28 17:43:59 router configctl[50841]: event @ 1622216639.35 msg: May 28 17:43:59 router.some.lan config[29630]: config-event: new_config /conf/backup/config-1622216639.3456.xml
May 28 17:43:59 router configctl[50841]: event @ 1622216639.35 exec: system event config_changed
May 28 17:44:00 router config[29630]: /services_dyndns_edit.php: Dynamic DNS (my.ddns.xx): _checkStatus() starting.
May 28 17:44:00 router config[29630]: /services_dyndns_edit.php: Dynamic DNS (my.ddns.xx): Current Service: noip
May 28 17:44:00 router config[29630]: /services_dyndns_edit.php: Dynamic DNS (my.ddns.xx): (Unknown Response)
Title: Re: No-IP Update broke with 21.1.6
Post by: franco on May 28, 2021, 07:50:14 pm
Well, code changes here: https://github.com/opnsense/plugins/pull/1836/files

You can always stick to former version for now.

# opnsense-revert -r 21.1.5 os-dyndns

Contributors need to write migration notes if relevant or we pull fixes or eventually have to drop the social DynDNS maintenance experiment. ;(


Cheers,
Franco
Title: Re: No-IP Update broke with 21.1.6
Post by: mircsicz on May 29, 2021, 02:20:36 am
THX franco, going back to 1.23_2 solved the Problem...

Before I followed your advice I tried reinstalling, as the (misconfigured) state seemed weird...
(https://snipboard.io/YWAhbR.jpg)
But even after the reinstall it refused to work as expected...

After running
Code: [Select]
opnsense-revert -r 21.1.5 os-dyndns
it works as expected :-)
(https://snipboard.io/dZlhpN.jpg)
Title: Re: [SOLVED] No-IP Update broke with 21.1.6 (os-dyndns 1.24)
Post by: mircsicz on June 18, 2021, 06:54:18 pm
Hi @franco,

the problem remains with 21.1.7_1... Had to run:
Code: [Select]
opnsense-revert -r 21.1.5 os-dyndnsto get it working again...