tags:

views:

46

answers:

1
+2  Q: 

Programmatic DNS

I'm a long time developer but not very experienced with DNS. Here's my problem:

Our app launches servers on Amazon EC2 for clients. One client wants to use custom DNS's for every server launched instead of the normal long public DNS provided by AWS: for example server-5.demo.ourclient.com, server-6.demo.ourclient.com.

What's the easiest/cleanest/best way to solve this challenge from inside our application that launches the servers and knows the Amazon public DNS? We can probably get control of demo.ourclient.com as well....

Are there nice hosted solutions with API's? Would we need to manage a DNS server for *.demo.ourclient.com?

Thanks!

Chad

+2  A: 

You could try one of the dynamic dns services. These allow you to define your own host names such as machine1.dyndns.org and attach that to an IP address. There are scripts you can run to update the dyndns resolver with the dynamic IP address provided by EC2.

Steve Weet
Thanks Steve. Also found dnsmadeeasy.com -- sweet.
Chad