
DDNS Update
Jürgen's Home Server•Version 1.1.0•
As the name says, my home server is running at home. This implies, that every now and then my internet service provide can decide to assign new IP addresses to my home network. My domains are registered at netcup which allows to control the DNS entries via an API. So what I did is to use Lars-Sören Steck tool as in his repository dynamoc-dns-netcup-api.
With the update script, particular subdomains’ IP addresses are being updated, which I reference for other subdomains on my home server via CNAME entries.
The script is called regularly every 5 minutes by using a crontab entry:
# m h dom mon dow command
*/5 * * * * $HOME/src/dynamic-dns-netcup-api/update.php > $HOME/src/dynamic-dns-netcup-api/update.log 2>&1
Header photo by U. Storsberg on Unsplash