Configuring Duck DNS with the DDCLIENT module

Anyone had luck configuring DuckDNS with the DDNS Provider Module for NethServer?

What is the configuration you should drop, do you have a documentation link ?

Hi Stephane,

You are the creator of that module I think? It would be very nice to add support for it. You can find the documentation here. They don’t work with normal login and passwords but with tokens and you need to login with github or google. I tried everything I could think about.

https://www.duckdns.org

It seems it works with a cron job, you have to install it manually

However we have manual instruction at https://sourceforge.net/p/ddclient/wiki/protocols/#duckdns

Any chance this could be implemented in the next version of the module you made? If possible I’d rather wait than execute a bunch of manual processes.

You have plenty different providers, I cannot follow all, hence I did a custom setting area.

Does it works else could you provide logs

Sorry Stephane for the late response. I had no time to look into this but that will be on my list to do I hope very soon.

1 Like

Alright so I tried it. Here are the logs

Aug 13 11:44:43 iris /usr/libexec/nethserver/api/nethserver-ddclient/create[14808]: /var/lib/nethserver/db/dyndns: OLD mydomain.duckdns.org=(undefined)
Aug 13 11:44:43 iris /usr/libexec/nethserver/api/nethserver-ddclient/create[14808]: /var/lib/nethserver/db/dyndns: NEW mydomain.duckdns.org=dyndns|CustomService|enabled|Description||DynDns|duckdns|DynServer|www.duckdns.org|login|mylogin@github|mx||password|mypassword
Aug 13 11:44:43 iris create: Event: nethserver-ddclient-update
Aug 13 11:44:45 iris create: Action: /etc/e-smith/events/nethserver-ddclient-update/S00initialize-default-databases SUCCESS [1.270379]
Aug 13 11:44:45 iris create: expanding /etc/ddclient.conf
Aug 13 11:44:46 iris create: [INFO] service ddclient restart
Aug 13 11:44:46 iris create: Event: nethserver-ddclient-update SUCCESS
Aug 13 11:44:47 iris ddclient[14856]: FAILED: updating mydomain.duckdns.org: Server said: ‘KO’

And here is how I tried to configure it :

Haha I think I found the problem… FQDN, I should have removed ‘www’. And now it seems to work. It skipped the update since the IP is still the same.

Aug 13 11:50:42 iris /usr/libexec/nethserver/api/nethserver-ddclient/update[17167]: /var/lib/nethserver/db/dyndns: OLD mydomain.duckdns.org=dyndns|CustomService|enabled|Description||DynDns|duckdns|DynServer|www.duckdns.org|login|mylogin@github|mx||password|mypassword
Aug 13 11:50:42 iris /usr/libexec/nethserver/api/nethserver-ddclient/update[17167]: /var/lib/nethserver/db/dyndns: NEW mydomain.duckdns.org=dyndns|CustomService|enabled|Description||DynDns|duckdns|DynServer|duckdns.org|login|mylogin@github|mx||password|mypassword
Aug 13 11:50:42 iris update: Event: nethserver-ddclient-update
Aug 13 11:50:43 iris update: Action: /etc/e-smith/events/nethserver-ddclient-update/S00initialize-default-databases SUCCESS [1.258784]
Aug 13 11:50:44 iris update: expanding /etc/ddclient.conf
Aug 13 11:50:44 iris update: [INFO] service ddclient restart
Aug 13 11:50:44 iris update: Event: nethserver-ddclient-update SUCCESS
Aug 13 11:50:44 iris ddclient[17217]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword ‘ip’ = ‘’
Aug 13 11:50:45 iris ddclient[17217]: WARNING: skipping update of mydomain.duckdns.org from to myip.
Aug 13 11:50:45 iris ddclient[17217]: WARNING: last updated but last attempt on Thu Aug 13 11:49:47 2020 failed.
Aug 13 11:50:45 iris ddclient[17217]: WARNING: Wait at least 5 minutes between update attempts.