DNS Master Slave and Virtual Servers

Ok what is best practices. I have a ns1 and ns2 servers. I have servers hosting1 hosting2 hosting3. If I create a new virtual server or sub virtual server on hosting1 how do I get it to update ns1 and ns2. I will want all three hosting servers to update the two name servers. So do I make each hosting server the master to ns1 and ns2 ? I have tried making ns1 and ns2 slaves to hosting one. When I create a virtual server it does create the records as you would expect. But any records already there are not not pushed over. Any thoughts suggestions would be appreciated.

Status: 
Closed (fixed)

Comments

tpnsolutions's picture
Submitted by tpnsolutions on Sat, 11/21/2009 - 14:11

Here's what we've done.

Each of our servers manage the "master" zones for the domains hosted on them. However, we do not publish this in the domains zones, instead we use a series of "slave" servers for serving up zone records publically.

Ex.

MASTER SERVERS
server1.company.com (hosting: domain1.com, domain2.com, domain3.com)
server2.company.com (hosting: domain4.com, domain5.com, domain6.com)

SLAVE SERVERS
ns1.company.com
ns2.company.com

The "slave" servers are what appear in the whois records for the domains in all "master" zones, and effectively handle all requests for all domains respectively. The "slave" machines are setup to update when the "master" server(s) send a zone transfer request.

In our design, we currently setup each "slave" zone manually, however it wouldn't be too difficult to create a "post install" script which creates these records automatically. (something we're in the midst of doing)

The next thing you need to do is adjust the default DNS templates found at:

"System Settings" > "Server Templates"

I hope this helps :-)

  • Peter