How to have own nameserver using Digital Ocean's own nameserver

I read from here,, that you can have your own nameserver using DO’s nameserver. How do I set this particularly in Centos 6.3 / Ubuntu 12.04? If i use my fancy nameserver with DO’s IPs, can I delete the DNS entries in the DO dashboard or do I have to keep them so that the nameservers will resolve? I’m a new to this DNS thing really, please excuse me. Thanks.

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.

Hi @Jonathan <br> <br>Will your example also work on zpanel? I can’t seem to make it work. Thanks!

The easiest way to set this up would be to create an A & NS entry for each nameserver, branded to your domain. We’ll use as the domain for the purpose of getting this setup. You’d simply need to change to your domain name. <br> <br>The IP’s listed below are the actual IP’s for DigitalOceans nameservers, in order, so you won’t need to change them. <br> <br> <br>First, we’ll create/add the A entries: <br> <br> <br>ns1 » A » <br> <br>ns2 » A » <br> <br>ns3 » A » <br> <br> <br>Next we’ll create/add the NS entries: <br> <br> <br> » NS » <br> <br> » NS » <br> <br> » NS » <br> <br> <br> <br>That’ll get you setup and allow you to use the branded nameservers while using DigitalOceans IP’s. If you’re using a barebones system (no Control Panel), there’s a bit more required to get things working (i.e you’ll need NSD or BIND to intercept the requests). If you are using a control panel, such as cPanel, DirectAdmin, or Plesk, then you’ll be able to add the nameservers and IP’s through the GUI.

For anyone that arrives at this thread via a search engine, and is interested in this topic, check out: <a href=“”>How to Create Vanity or Branded Nameservers with DigitalOcean Cloud Servers</a>.