Dynamic DNS with GoDaddy
I recently migrated from using a self-hosted DNS and secondary DNS solution to using GoDaddy's Total DNS service. It's a free service if you have them as a registrant and made sense for me insofar as reducing the number of systems I'm responsible for maintaining and provides geographically distanced servers and networks for better fault-tolerance.
I have a network attached storage (NAS) server at home which I occasionally need to pull files from or perform other administrative tasks. Previously, I was using the free dynamic DNS service provided by No-IP. While the service worked great, I wanted the ability to use my own domain name.
The problem with CNAMES: Reading various comments online, some people have suggested that you can simply point a CNAME record to the dynamic hostname. This works in most cases, but problem with "dangling CNAMEs" is that they cannot be resolved by all DNS servers. I also wanted the ability to point a whole domain (and not just a sub-domain) to my dynamically assigned IP.
The solution was to create a simple PHP script that logs into my GoDaddy account and updates the record for me. I've implemented it using the same interface as DynDNS uses which allows it to be compatible with my D-Link DIR-655 router (and should work with other clients as well).
This script has been released under the New BSD License. More details are available in the script's source code.
Available Downloads:
| Filename | Filesize | Downloads | Date |
|---|---|---|---|
| godaddy-ddns.php.txt | 15.44 kB | 111 | 2010-09-07 |