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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.”.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.