I setup dynamic dns through cloudflare with a service that runs on my server. Only downside is if the server crashes and my ip changes I’m SOL until I can get the server back up and running manually, or manually change the ip in cloudflare.
I think you can have a service like ddclient running on your server that will automatically push updates to Cloudflare on the hour (or whatever timeframe you set). I haven’t done it on a server before, but just an OPNSense firewall that has some simple configs for setting up the Dynamic DNS system.
That’s a good “manual” way where you just check for an IP change every 30 seconds and send a POST request using curl to Cloudflare if there’s a change. Basically every other service you can find will do this in some other more convoluted way lol.
I setup dynamic dns through cloudflare with a service that runs on my server. Only downside is if the server crashes and my ip changes I’m SOL until I can get the server back up and running manually, or manually change the ip in cloudflare.
I think you can have a service like
ddclientrunning on your server that will automatically push updates to Cloudflare on the hour (or whatever timeframe you set). I haven’t done it on a server before, but just an OPNSense firewall that has some simple configs for setting up the Dynamic DNS system.I just used this systemd script: https://github.com/fernvenue/cloudflare-ddns
That’s a good “manual” way where you just check for an IP change every 30 seconds and send a POST request using
curlto Cloudflare if there’s a change. Basically every other service you can find will do this in some other more convoluted way lol.