Question

New Droplet and DNS entry

Posted July 24, 2014 2.7k views

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

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.

×
2 answers

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.

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.”.

Submit an Answer