Master & Slave DNS

3 posts / 0 new
Last post
#1 Fri, 09/18/2009 - 04:27
hagen

Master & Slave DNS

Hi, I am planing my setup, I have 3 hosting servers today and one dedicated slave DNS and now I will be adding more hosting servers, I think I would like to run one dedicated Master DNS for all the hosting servers Is this not the right/best way to go ? If I have webmin/virtualmin on all server how can I adjust the hosting servers to use one master, so if I create a virtual server on any server it will create a record on the master and slave. If I run a master dns on all hosting server I must register them all at the registrar this cant be the way to go?

How are you guys doing this?

Thanks Hagen

Sat, 09/19/2009 - 18:18
ronald
ronald's picture

you can take one domain and register the nameservers for that domain.
masterserver: ns1.mydomain.com - 123.123.123.123
masterserver: ns2.mydomain.com - 123.456.456.456
masterserver: ns3.mydomain.com - 123.789.789.789
slaveserver: ns4.mydomain.com - 123.456.789.123

for each masterserver add the slaveserver.
now all 3 servers can be found by it's dedicated IP and by the slave.

I don't see how to use only one master nameserver and one slave and have multiple masterservers in the air without them being registered and announced to the world.
(In above scenario it is possible by working with A records on one of the masters, but I wouldn't run a server solely on an A record.) That would take also extra look-ups. and if the masterserver goes down-all other server would only depend on the slave=not good

Each server has a name and an IP which needs to be announced to the world.
That is why you register the nameserver

Tue, 09/22/2009 - 18:16
CruzMark

I'm doing something like this. I setup ns1.mydomain.com and ns2.mydomain.com to be cluster slave servers on a couple of boxes, using http://www.virtualmin.com/documentation/dns/slave-configuration

Then I modified the dns template in virtualmin to list those servers as the primary and secondary for any virtual domain that's created.

To the virtual domain, the hostname is still the primary nameserver, but to the world, only ns1 and ns2 show as master servers. I've checked this setup with the tools at dnsreport.com and it isn't raising any caution flags.

Topic locked