Hello,
I found out today after editing the configuration of ddclient via the GUI that it some characters were being added at the end of some lines:
syslog=yes # log update msgs to syslog
pid=/var/run/ddclient.pid # record PID in file.
verbose=yes
use=cmd, cmd="/usr/local/opnsense/scripts/ddclient/checkip -t 0 -s freedns --timeout 10", \
protocol=porkbun, \
apikey=my_secret_api_key, \
secretapikey=my_secret_secret_key, \
login=my_secret_api_key, \
password=my_secret_secret_key \
my.fully.qualified.hostname
Those ", \" are effectively making the configuration invalid/confusing to ddclient and causing errors like:
WARNING: Could not determine an IP for my.fully.qualified.hostname
WARNING: my.fully.qualified.hostname: unable to determine IP address with strategy use=cmd
WARNING: found neither IPv4 nor IPv6 address
After manually removing the extra ", \" and " \" from the configuration file and restarting ddclient, everything works fine again!
OPNSense version: OPNsense 25.1.5_5-amd64
PS: I know that the documentation recommends moving to the "native" client, however, I use porkbun for resolution of some of my domains and the native client does not support it.
> Those ", \" are effectively making the configuration invalid/confusing to ddclient and causing errors like:
You'd be the first after thousands of users and a year or two of this running fine? Did you draw the right conclusion?
Cheers,
Franco