LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Setting name servers on multiple servers (https://www.linuxquestions.org/questions/linux-server-73/setting-name-servers-on-multiple-servers-615753/)

centosfan 01-23-2008 10:09 AM

Setting name servers on multiple servers
 
Anyone knows how can i setup a ns1.domain.com ns2.domain.com ns3.domain.com
on multiple servers ?I noticed some dedicated server companies have that and i think that is much better solution then having ns1 and ns2 on each server since ns2 doesnt mean anything if dns fails on that server.

sir-lancealot 01-23-2008 10:22 AM

Well, normally you will just install bind on each of the box's. Setup one (ns1) as the master and the rest (doesn't really matter how many) slaves, ns2, ns3.

In your named.conf file, make sure you have your masters set to;
notify yes, and equally important, make sure your slaves are set with an allow-update {ns1 }; where ns1 will be your master.

That should get you started, post back the named.conf and a zone if you need more ...

Serapis 01-23-2008 10:32 AM

Indeed, thats correct.
In addition:
When you want to supply your own DNS records, some registrars require your DNS server to be in different IP-Nets, thus the servers are at different locations and a"desaster" can only hit one DNS.

JimBass 01-23-2008 03:43 PM

You'll also need to register the new nameservers (ns2, ns3, ns18, whatever) with your registrar. Just because you define it in the zone file doesn't mean that any other nameservers in the world will talk to it. That is controlled by the registrar. Go to their webpage, sign in, and look for something like "add nameservers".

Peace,
JimBass


All times are GMT -5. The time now is 04:39 PM.