Modify DNS using code or API?

January 29, 2013 5.4k views
Is it possible to modify DNS records (for example creating a new subdomain and assigning it to a droplet) using the API, coding, or doing it any other way rather than using the Control Panel? For example, I would like to create new instances of a webapp with a custom subdomain. Example the user chooses "hello", so his instance would be located in hello.example.com
10 Answers
Not yet, but we will be adding DNS management in to the API within the next month so you'll be able to do that soon.
Ok thanks Raiyu! Great to know it's coming.
February is over. Any new about when it will be possible?
we need this feature!
any news on this as im about to move my cloud server here and need to know if im doing the dns manually.
very interested in this. please make it so!
DNS has been added to the API a while ago: https://api.digitalocean.com/#domains-list
Hi, I wrote a little shell script to update and A record (like dynamic DNS)


Have another answer? Share your knowledge.