$ ddclient fails to update or connect

After using the suggested configuration file settings from the docs, trying to get a manual update from the server to succeed, and it’s always failing.

/etc/ddclient.conf
protocol=dyndns2
use=web
server=dynv6.com
login=none
password=‘XxXxXxXx’
XxXxXxXx.dns.navy

$ ddclient -force
WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword ‘ip’ = ‘’
FAILED: updating XxXxXxXx.dns.navy: Could not connect to dynv6.com.

also tried ipv4. dynv6. com for server, also fails.

-query does find the right IP via web. (of the 3 one of them is not returning an IP)

So not sure why the warning is complaining about ip keyword.
Does the cache file not populate from a web IP query?

Hello, I had the same problem running ddclient in docker.
I removed the ’ around the token and restarted the container after 5 minutes and it worked.

thanks for the tip, will modify the conf file with ’ ’

the error message doesn’t go away and still fails to contact dynv6.com

why is it that we can’t get a clean run?

I have the same problem.
This is my ddclient.conf:

protocol=dyndns2
use=web, web=checkip.dyndns.it
server=dynv6.com
login=none
password=‘xxxxx’
xxxxx.v6.navy

the ip check work and obtain the right ip addres, but i have the error:
FAILED: updating xxxx.v6.navy: Could not connect to dynv6.com.

Any suggestion?

I’ve just noticed that on dynv6.com/zones/{zone_Id}/instructions for Fritz!OS the username and password fields are swapped, compared to ddclient config - but that shouldn’t be the problem in your cases.
Today at 10:27 UTC my OpenWrt router successfully updated one of my zones using this API so the service on the server side seems to be working. (The log doesn’t exist anymore so it could be a flawed LuCI GUI…)

Hello,

I had the same problem and solved it by requiring ssl. In ddclient.conf :

ssl=yes
protocol=dyndns2
use=web, web=checkip.dyndns.com/, web-skip=‘Current IP Address’
server=dynv6.com
login=none
password=password
my.domain

Then run
sudo ddclient -daemon=0 -debug -verbose -noquiet

If you don’t want to wait 5 mins before you test, do this first:
sudo rm /var/cache/ddclient/ddclient.cache