Over the last couple of years, I’ve used a few more or less popular free DNS hosting services, and my best experience so far has been with EditDNS.net — mostly because their service really puts you in control of your domains and records. I started using them when I needed to set up SPF records (which are technically TXT records in a specific format) for a domain, and I discovered TXT records were not supported by most DNS hosting services — EditDNS being one of the few exceptions.
However, a couple days ago I encountered a problem. I wanted to set up a round robin DNS configuration for a domain with two IP addresses, one of them being a dynamic IP (that changed once every month or two). One of the key objectives was that the DNS records should be updated automatically when the IP changed. An obvious solution would be to use DynDNS records (supported by EditDNS), but I quickly learned that it’s not possible to set up two records with the same name (which is the basis for a round robin configuration) and make only one of them DynDNS ready. The system considered both records dynamic and wouldn’t just update one, keeping the other one intact. So, bummer. My next idea was to use the EditDNS API to simply delete the old record and create a new one with the new IP address, but this turned out to be impossible too, as the delete function is not yet implemented in the API. Bummer again.
But there are no unsolvable problems, just unwritten Perl scripts. I ended up putting together a simple script that uses LWP::UserAgent to log in to the EditDNS website and add new records or delete existing ones. The script is flexible enough for general use, so I’m making it available — if any fellow EditDNS users are reading this, maybe you’ll find it useful too.