About DNS

Posted September 5, 2013 6.9k views
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.
1 comment
  • I am wondering what the DNS option is for under droplet settings, I thought I can put a new domain here it will be registered automatically, but I can’t access the domain from google domain servers.

    1. do i have to pay extra to get it activated with .com domain?
    2. If digitalocean is not a registrar please do let me know to register this domain for my self some where else.

    thank you,

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.

Submit an Answer
4 answers
Since you are going to use our DNS services for resolving the domains you would also need to add those domains to the DigitalOcean domain manager:

Then it should work. =]
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.
Hmm, I have tested in all the possible ways to solve this matter by myself. Here is the solution:

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

# 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, => => =>

in both A records and Child NS or Glue records.

Now, another A record like: => [your droplet's IP]

Login to your DO a/c. From DNS, add a domain. There create these:

A record: => [your droplet IP] => => =>

NS record:

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:

A record: => [your droplet IP]


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

Even DO's new customers can use your NS from now on ;)

Have fun!