Hi,
ddclient does not resolve dyndns name to a none changed IP address.
This happens to me during past OPNSense Upgrades and a following reboot.
After reboot, ddclient fails to resolve the dyndns address to the IP, throwing the following error:
Account long-U-I-D-rndnmbr [custom - ] raised fatal error (HTTPSConnectionPool(host='dyndns.provider', port=443):
Max retries exceeded with url: /nic/update?hostname=custom.domain&wildcard=NOCHG
(Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x8578ddcd0>:
Failed to establish a new connection: [Errno 8] Name does not resolve')))
so ddclient seems to ignore NOCHG
Did my research and found the following:
https://github.com/ddclient/ddclient/issues/499#issuecomment-1413585001
the suggestion is to use curl, since there seems to be some kind of format error resulting in faulty parsing.
So now I've been looking for the ddclient.conf to give curl a try, but all I see is:
syslog=yes # log update msgs to syslog
pid=/var/run/ddclient.pid # record PID in file.
reading here:
https://forum.opnsense.org/index.php?topic=35460.0
I tried to check cache -> nothing there
running configctl ddclient force
results in a suddenly populated ddclient.conf
syslog=yes # log update msgs to syslog
pid=/var/run/ddclient.pid # record PID in file.
ssl=yes
usev4=ifv4, ifv4=pppoe0, \
protocol=dyndns2, \
server=dyndns.provider, \
login=user, \
password=somechhars \
custom.domain
the github suggestion is to
curl=yes
use=web, webv4=ip1.dynupdate.no-ip.com, ssl=no
how would that be applied to the config shown above?
continuing to read I found, that ddclients standard has become curl:
https://github.com/ddclient/ddclient/issues/548
digging further, I checked my up-to-date install of OPNSense
pkg -v ddclient
showing 1.19.2
:o
why?
up to date Github version is:
3.11.1
freshports Version is
3.9.1
https://www.freshports.org/dns/ddclient/
Cheers