Question

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

  • Posted February 22, 2013

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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

Great, thanks!

@Pablo: The IPs were changed a while ago: <br> <br>» dig +short {ns1,ns2,ns3}.digitalocean.com <br>198.199.120.125 <br>141.0.170.89 <br>198.199.95.114

<pre> <br>First, we’ll create/add the A entries: <br>ns1 » A » 69.55.55.74 <br>ns2 » A » 141.0.175.217 <br>ns3 » A » 69.55.62.20 <br></pre> <br> <br>Are these IPs still current/correct?

You will have to set up glue records for ns1, ns2, and ns3. at your domain registrar: <br>http://www.ehow.com/how_8116690_add-glue-records-godaddy.html

Did not work for me too

I’m using godaddy, I have “Nameserver not registered.” error. <br>Here are screenshots; <br>http://cl.ly/image/1Q1W230E1R3T <br>http://cl.ly/image/1E06152a3m45 <br>http://cl.ly/image/3p0y1J0Q1s32 <br> <br>Any Help ?

Sorry for the typo… <br> <br>“from register’s DNS settings” <br> <br>meant to be <br> <br>“from your domain register’s DNS settings (godaddy, namecheap, etc.)”