Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - MBiber

#1
23.7 Legacy Series / ddclient issues with noip
January 06, 2024, 10:32:19 AM
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