Question

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

I read from here, http://digitalocean.uservoice.com/forums/136585-digital-ocean/suggestions/3637662-create-and-offer-anonymous-name-servers#comments, 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 example.com as the domain for the purpose of getting this setup. You’d simply need to change example.com 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 » 69.55.55.74 <br> <br>ns2 » A » 141.0.175.217 <br> <br>ns3 » A » 69.55.62.20 <br> <br> <br>Next we’ll create/add the NS entries: <br> <br> <br>example.com » NS » ns1.example.com <br> <br>example.com » NS » ns2.example.com <br> <br>example.com » NS » ns3.example.com <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=“https://www.digitalocean.com/community/articles/how-to-create-vanity-or-branded-nameservers-with-digitalocean-cloud-servers”>How to Create Vanity or Branded Nameservers with DigitalOcean Cloud Servers</a>.