Minimal Dynamic DNS configuration for No-IP.com with ddclient
EDIT: I have migrated one of my domains to Google Domains so I’m using
protocol=googledomains
these days.
When I searched for a way to configure ddclient for No-IP.com, some pages mention protocol=dyndns2
with a custom URL. But actually, ddclient supports protocol=noip
out of the box, so minimal steps would be something like:
$ sudo apt install ddclient
$ cat <<EOF | sudo tee /etc/ddclient.conf
use=web
ssl=yes
protocol=noip
login=<USERNAME>
password=<PASSWORD>
<YOUR_HOSTNAME>
EOF
And here we go.
$ echo 'run_daemon="true"' | sudo tee -a /etc/default/ddclient
$ sudo service ddclient restart
$ journalctl -u ddclient.service
...
systemd[1]: Started LSB: Update dynamic domain name service entries.
ddclient[24631]: SUCCESS: updating MY_HOST.redirectme.net: good: IP address set to 118.X.Y.Z
For more details, please refer to ddclient -help
.
This post was originally published at https://medium.com/@nobuto_m/minimal-dynamic-dns-configuration-for-no-ip-com-with-ddclient-cb7c038a74be