[SOLVED] No-IP Update broke with 21.1.6 (os-dyndns 1.24)

Started by mircsicz, May 28, 2021, 05:38:25 PM

Previous topic - Next topic
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:

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):

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... ;-)

Here's the full log of a "force Upgrade" run with verbose logging activated:


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)

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

May 29, 2021, 02:20:36 AM #3 Last Edit: May 29, 2021, 02:23:59 AM by mircsicz
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...

But even after the reinstall it refused to work as expected...

After running

opnsense-revert -r 21.1.5 os-dyndns

it works as expected :-)

Hi @franco,

the problem remains with 21.1.7_1... Had to run:
opnsense-revert -r 21.1.5 os-dyndns
to get it working again...