I just keep forgetting the name of the command used to clear the cache in OS X..
The dscacheutil has several other features, but there is a good manual page for that.
I have been having issues for some time with the updating of my dynamic dns for some domains I own, getting pretty regular emails from my ddclient daemon like 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 15: Invalid Value for keyword ‘ip’ = ”
WARNING: TIMEOUT: dns.xxx.com after 120 seconds
domain.net, otherdomain.com, sometoher.org : Could not connect to dns.xxx.com/xdyndnsserver/xdyndns.php.
[nohide]email@example.com[/nohide] (version 3.8.0)
(some things shortened and changed above to protect the innocent..)
This was getting a bit annoying.
I found the documentation for ddclient being very flag centric and focusing more on starting it manually rather than using the config file to set options.
However, the solution was simple enough to share.
And after adding this to my config I have so far not gotten any errors in the logs or mail from ddclient.
I honestly do not understand why this is not a default part of the config.