First register 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
to start the configuration process again:
In the configuration process, select “other” dynamic DNS service provider and enter
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
use=cmd, cmd='curl https://checkipv4.dedyn.io/'
to your ddclient configuration file.
Enable SSL by Default
ddclient doesn’t use SSL by default. To fix this, open
ssl=yes above the
# Configuration file for ddclient generated by debconf # /etc/ddclient.conf protocol=dyndns2 use=if, if=eth0 ssl=yes use=cmd, cmd='curl https://checkipv4.dedyn.io/' server=update.dedyn.io login=yourchoice.dedyn.io password='12yourpasssword99' yourchoice.dedyn.io
Please substitute the red ones.
Test Your Setup
On the command line, use
sudo ddclient -force to see if everything works as expected.
The result should look very similar to mine:
Now you are able to request certificates from let’s encrypt for your new dyndns-address.
Have fun and enjoy your Nextcloud!