⚠️ This post is archived from my phlog in Gopherspace. Please read my post on the Gopher Protocol to get started!
I used to use DuckDNS, but then I started using afraid.org.
I just moved and it was nice knowing that my server would just update the new IP/location for me.
In a script like ~/duckdns/duck.sh
:
sleep 21 ; wget -O - http://freedns.afraid.org/dynamic/update.php?YORTOKEN >> /tmp/freedns_someodd_mooo_com.log 2>&1 &
Something like the above command, that you get from Afraid.org.
You can crontab:
*/5 * * * * ~/duckdns/duck.sh >/dev/null 2>&1
You could also use systemd. Above does every five minutes.
Original content in gopherspace: gopher://gopher.someodd.zip:70/0/phlog/dynamic-dns-linux-debian.txt