using gandi livedns as a Dynamic DNS server

To experiment with widely distributed systems, I administrate some rasberry pi zeros W scattered in France in residential homes. These systems are attached to residential gateways through Wifi with dynamic IP addresses and I needed a way to reliably connect to them to launch experiments.

In the nineties, I used a service called Dyndns, which offered a free service for updating subdomains with dynamic IPs. This free service no longer exists, so I started looking for an alternatives. Most of them were costly and required the installation of closed-sources update clients. Opensource alternatives such as hopper.pw required complicated installations and also a dedicated domain name.

Hopefully, I've been a loyal customer of Gandi for some years now, and thanks to the introduction their livedns API, it can be used to update my main dns zone through a REST API.

prerequisites: curl jq (apt-get install curl jq)

https://gist.github.com/nherbaut/76437289664481c8b3e6438eff8f79cd

Pages

Subscribe to Nicolas Herbaut RSS

Sponsors