os-ddclient: Invalid value for keyword 'ip'

Started by MBfromOK, August 14, 2022, 07:38:59 PM

Previous topic - Next topic
August 14, 2022, 07:38:59 PM Last Edit: August 14, 2022, 07:41:54 PM by MBfromOK
Trying to make the transition to the new os-ddclient in OPNSense 22.7.1 (OpenSSL) using CloudFlare with freedns and keep getting errors... The logs show:
46056 - [meta sequenceId="5"] WARNING: file /var/tmp/ddclient.cache, line 7: Invalid Value for keyword 'ip' = ''

Running the checkip command copied from the ddclient.conf works as expected returning my public ip address:
/usr/local/opnsense/scripts/ddclient/checkip -i fxp0 -t 1 -s freedns

but looking at the log file mentioned 'ip' is empty:
atime=1660498099,backupmx=0,host=<tld>,ip=,mtime=0,mx=,static=0,status=noconnect,warned-min-error-interval=0,warned-min-interval=0,wildcard=0,wtime=0 <tld>

UPDATE: I tried to force ddclient and get this:

WARNING:  file /var/tmp/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
WARNING:  file /var/tmp/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
WARNING:  file /var/tmp/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
WARNING:  file /var/tmp/ddclient.cache, line 6: Invalid Value for keyword 'ip' = ''
WARNING:  file /var/tmp/ddclient.cache, line 7: Invalid Value for keyword 'ip' = ''


How do I go about fixing this?

Delete the /var/tmp/ddclient.cache file and restart ddclient.
- Jim