sh
curl
Requires sh, shuf and curl in $PATH, DNS records need to exist.
shuf
$PATH
The script, run, will start by checking if your ip has changed. If it has, it will get your new ip and run set_to to update the DNS record.
run
set_to