This is specifically for Route53 since that's where I handle my DNS records. I think it would probably be trivial to modify it to work with another DNS provider with an API, though.
It's quite old and probably ugly, but it's been working flawlessly for several years so I haven't really mucked with it much since I created it.
could you give more info about this? i want to set up something similar at home also.