Question

New Droplet and DNS entry

  • Posted July 24, 2014

Hello,

I have a domain (say example.com) already created using DigitalOcean control panel and now I create a new droplet with hostname like newhost.example.com . Would it add a A record automatically to DNS entries?

And in such case nslookup newhost.example.com ns1.digitalocean.com should lookup the ip of newhost, is that right?

For some reason this isn’t working for me.

TIA

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Ah ok. Thanks.

My bad. I misinterpreted name description in create_droplet API which says “The name, if set to a domain name managed in the DigitalOcean DNS management system, will configure a PTR record for the Droplet.”.

Would it add a A record automatically to DNS entries?

No, you will need to create the A record manually:

Replace 1.2.3.4 with your droplet’s IP address.