What happens if i set two different name servers ? Do the domain check for DNS Entries on both Nameserver ?

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 is on name server of Digital Ocean and DNS entry for is on another name server

and if a visitors visits to and

So will he point to the correct entries based on both DNS entries on two different name servers ?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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