Say like i set 4 nameservers from my domain panel 2 for digital ocean and 2 for some another provider
and suppose DNS entry for a.domain.com is on name server of Digital Ocean and DNS entry for b.domain.com is on another name server
and if a visitors visits to a.domain.com and b.domain.com
So will he point to the correct entries based on both DNS entries on two different name servers ?
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!
No. While some DNS clients will go for the primary DNS server first you cannot be certain of which order your DNS servers will be queried in and generally only one of your DNS servers will be used for any particular request. With this being the case, if a request for b.domain.com were to hit your DigitalOcean DNS zone and find that name does not exist it would simply return an error. If you are using multiple DNS providers for your domain you need to make sure that the records are synced between them and remain identical.
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.