Update 2024/06/25: Since writing this article, someone has written a script for this, which you can find here: https://github.com/K0p1-Git/cloudflare-ddns-updater . Thanks for the info to tesztszerverem.hu!

 

If you have a home server and want to access a service from the internet (e.g. OpenVPN), it’s worth setting up a dynamic DNS record. This article details the combined setup of Cloudflare – ddclient.

First, create an ‘A’ record with a dummy IP address (so we can later verify that the update was successful), and with a 5-minute TTL.