deSEC – dyndns for Nextcloud

First register (german: registrierung) an account and wait for the credentials sent by email. Then start to install and configure the dyndns client. To install ddclient, use

sudo -s
apt install ddclient -y

If apt install ddclient doesn’t ask you to configure ddclient, use

dpkg-reconfigure ddclient

to start the configuration process again:

In the configuration process, select “other” dynamic DNS service provider and enter

update.dedyn.io

as the dynamic DNS server. Next, tell ddclient to use the “dyndns2” protocol to perform updates. Afterwards, enter the username and password they sent you via email upon registration. Last, tell ddclient how to detect your IP address, your domain name and the update interval.

Determine IP Address Remotely

If your setup does not allow your public IP address to be determined from one of your interfaces, you can let ddclient use their servers to determine your address. To do so, you will need curl installed. Then, right above the server=update.dedyn.io line, simply add the following line