ddclient issues with noip

Started by MBiber, January 06, 2024, 10:32:19 AM

Previous topic - Next topic
Hi from Bavaria,
I have some strange behavior after years without problems.

I'm not sure if there is a connection between the latest update or not.
Current version: OPNsense 23.7.11-amd64

I found a very similar issue in the legacy discussion board: https://forum.opnsense.org/index.php?topic=37244.0

Please allow me to summarize the behavior of ddclient (checked on the CLI):

Provider: No-IP
OPNsense on APU4 with Vigor 165

Getting information from interface
usev4=ifv4, ifv4=pppoe0,

causes:
root@router:~ # ddclient -file /usr/local/etc/ddclient.conf -foreground
WARNING:  '' is not a valid IPv4 or IPv6 address
WARNING:  found neither IPv4 nor IPv6 address
WARNING:  <domain>.DDNS.NET: unable to determine IP address with strategy use=ip
WARNING:  Could not determine an IP for <domain>.DDNS.NET


Using noip-ipv4 via GUI

causes:
root@router:~ # ddclient -file /usr/local/etc/ddclient.conf -foreground
WARNING:  '' is not a valid IPv4 or IPv6 address
WARNING:  found neither IPv4 nor IPv6 address
WARNING:  <domain>.DDNS.NET: unable to determine IP address with strategy use=ip
WARNING:  Could not determine an IP for <domain>.DDNS.NET


but a manual start of the command delivers the correct IP:
root@router:~ # /usr/local/opnsense/scripts/ddclient/checkip -i pppoe0 -t 0 -s noip-ipv4 --timeout 10
217.238.xxx.yyy
root@router:~ #



The final solution was:
use=web, web=freemyip.com/checkip,

With this IP-determination-technology everything works fine and the records was updated.

But as far as i remember this change is not "restart resistant".


Regards

Hi from Bavaria, too  ;D

I can second this. After one of the last updates my ddns with no-ip stopped working, too.
After reconfiguration to custom mode it worked again with no-ip.

Reviewed the settings from the module but could not find the difference.

Here my custom settings that worked:
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de

January 16, 2024, 03:30:28 PM #2 Last Edit: January 16, 2024, 04:04:24 PM by Adramyttium
Quote from: banym on January 09, 2024, 06:19:39 PM
Hi from Bavaria, too  ;D

I can second this. After one of the last updates my ddns with no-ip stopped working, too.
After reconfiguration to custom mode it worked again with no-ip.

Reviewed the settings from the module but could not find the difference.

Here my custom settings that worked:

I had to set it back to "Custom" as well, but in my case it still doesn't update no-ip. I tested it by first logging into no-ip and changing the domain manually to 1.1.1.1. See the attached screenshot for a record of what happened when ddclient attempted the update.

It seems that all ddclient did was check the WAN interface IP, noted it was the same as it thought it was, and then fails to update no-ip. It's like ddclient never attempted to "see" the 1.1.1.1 address on file at no-ip.

no-ip has been a struggle ever sense dyndns was removed from the repository. Frustrating.

@banym, your post allowed me to get noip working.

Thank you so much!