1
23.7 Legacy Series / ddclient issues with noip
« on: 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
causes:
Using noip-ipv4 via GUI
causes:
but a manual start of the command delivers the correct IP:
The final solution was:
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
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
Code: [Select]
usev4=ifv4, ifv4=pppoe0,
causes:
Code: [Select]
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:
Code: [Select]
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:
Code: [Select]
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:
Code: [Select]
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