OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: MBfromOK on August 14, 2022, 07:38:59 pm

Title: os-ddclient: Invalid value for keyword 'ip'
Post by: MBfromOK on August 14, 2022, 07:38:59 pm
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:
Code: [Select]
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:
Code: [Select]
/usr/local/opnsense/scripts/ddclient/checkip -i fxp0 -t 1 -s freedns
but looking at the log file mentioned 'ip' is empty:
Code: [Select]
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:
Code: [Select]
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?
Title: Re: os-ddclient: Invalid value for keyword 'ip'
Post by: WN1X on August 14, 2022, 07:47:09 pm
Delete the /var/tmp/ddclient.cache file and restart ddclient.