• 0 Posts
  • 1 Comment
Joined 1Y ago
cake
Cake day: Jul 01, 2023

help-circle
rss

I just have a cron script running on a machine that does something like this every 10 seconds

C_IP=`dig +short my.domain`
IP=`curl https://api.ipify.org`
if(C_IP != IP) {
    updateRoute53(IP)
}

This is just for my main home server. Gets the job done because if it’s out of date for a few seconds nothing matters.