2020-05-29

Replacing Duck DNS with Cloudflare

Lately, my Duck DNS address sometimes did not work, after two years without any problems. Maybe some issues with their name server. Probably too much load, because i see that others are enjoying it too. Since i get to use this service for free, i'm thankful and not complaining. I'm only making my GIF animations available through that web address, so it’s not a big deal.
But motivated by other users, who are affected by this too, i wrote a shell script to automatically update the DNS management in Cloudflare through their API, basically mirroring the functionality of Duck DNS, by sending the current IP address, and getting all the things connected again. This is reliable enough for my Raspberry Pi. And yes, the subdomain was inspired by Star Trek.