OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 22.7 Legacy Series »
  • os-ddclient: Invalid value for keyword 'ip'
« previous next »
  • Print
Pages: [1]

Author Topic: os-ddclient: Invalid value for keyword 'ip'  (Read 412 times)

MBfromOK

  • Newbie
  • *
  • Posts: 21
  • Karma: 1
    • View Profile
os-ddclient: Invalid value for keyword 'ip'
« 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?
« Last Edit: August 14, 2022, 07:41:54 pm by MBfromOK »
Logged

WN1X

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
    • View Profile
Re: os-ddclient: Invalid value for keyword 'ip'
« Reply #1 on: August 14, 2022, 07:47:09 pm »
Delete the /var/tmp/ddclient.cache file and restart ddclient.
Logged
- Jim

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 22.7 Legacy Series »
  • os-ddclient: Invalid value for keyword 'ip'
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2