

For dynamic updating of dns, don’t use ddclient or cron scripts on the server. Instead use inadyn.
Ddclient is more or less just dead/maintenance mode.
also using cron scripts kinda sucks and is ugly.
just use inadyn and spare yourself headache.
You’d basically just add something like this to the inadyn.conf file
provider duckdns.org {
username = YOUR_TOKEN
password = noPasswordForDuckdns
hostname = YOUR_DOMAIN.duckdns.org
}



…well shit.
edit: that being said, duckDNS has not changed in a LONG time, so Inadyn will work for duckdns fine. May need other solutions with evolving platforms like No-IP or Cloudflare as this begins to age out if no one forks it.