About DNS

For last couple of days I have been playing with DO’s VPS and I’m satisfied. I was just wondering about one thing, DNS. I am going to install zpanel (if you are not familiar with zpanel, then just think about cpanel or plesk or directadmin etc.). And I’ll add a domain to one droplet and will configure the name servers both in my domain control panel and in DO’s DNS server. So, instead of using DO’s ns name,

I’ll use

But I’m not going to setup 3 separate droplets for the dns, I’ll use the IPs of DO’s like,

Now, when I add a new domain ( through zpanel and for domain NS if I use

then it should work perfectly. So am I right or did I miss something?

Thank you.

Show comments

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.

Hmm, I have tested in all the possible ways to solve this matter by myself. Here is the solution: <br> <br># If you want fully branded name server, then you need at least two NS. And for DNS my personal preference is either BIND-9 or PowerDNS, but it’s up to you. Now, you can use a single droplet to configure two NS, but it might happen that (and it will happen!) at a certain time that droplet goes offline. So, all your sites will go offline too. So, you should use at least two different droplets. <br> <br># If you want to use your own NS record but not want to make things complicated, then you can use DO’s IP and create your own NS record. For that, first create three Child NS or three Glue records using the three IPs which I have already mentioned in the original post. Now, create three A records just like what you have done in the previous steps. So, <br> <br> => <br> => <br> => <br> <br>in both A records and Child NS or Glue records. <br> <br>Now, another A record like: <br> => [your droplet’s IP] <br> <br>Login to your DO a/c. From DNS, add a domain. There create these: <br> <br>A record: <br> => [your droplet IP] <br> => <br> => <br> => <br> <br>NS record: <br> <br> <br> <br> <br>Everything’s finish now! Now, if you want to install cPanel, zpanel or whatever you want, you can add any new domain from your control panel. for, you will have to login in your domain’s control panel (you do not need to add any further domain using DO’s DNS!) and add: <br> <br>A record: <br> => [your droplet IP] <br> <br>NS: <br> <br> <br> <br> <br>Even if you create a new droplet, you don’t need to add another domain for that droplet inside DO’s DNS if you want to use cpanel etc. You just add the NS like, and one important thing, here in A record => [your new droplet IP]. <br> <br>Even DO’s new customers can use your NS from now on ;) <br> <br>Have fun!

If you’re going to use DigitalOcean’s DNS service’s IP addresses, you should add them to the DNS manager in your account control panel in order for the domain to resolve.

Check out: <a href=“” target=“_blank”>How To Create Vanity or Branded Nameservers with DigitalOcean Cloud Servers</a>.