Link to home
Start Free TrialLog in
Avatar of choccarlm
choccarlm

asked on

Dns Servers

Hi,

Whats the best way to setup a pair of dns servers (1 Primary & 1 Secondary). I will require the secondary dns server to handle requests only if the primary dns server is overloaded or down.

Do I just set them both up the same, with identical named records, but set resolv.conf on the secondary server to have the primary dns server listed first, and then have itself listed second?

Cheers
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of choccarlm
choccarlm

ASKER

The trouble is, is that I have several hundred domains, so it will be quite hard to manage 2 servers with different type's of zones (Master & slave). Is there a way to get the master dns server to copy the zones and named.conf in the correct format across to the slave server?

Is there a perl script of some sort that will do the job?

Cheers
I don't know of a ready made tool for managing the secondaries named.conf, but then I've never loooked very hard for one. It wouldn't be very difficult to craft such a script since the config for the secondary is derived from the config for the master. You'd need to make sure that all zones defined on the master were in a standard format, of course.

If you want to send me a copy of your named.conf (to jim@entrophy-free.net) I'll take a crack at writing a perl script that would generate the secondary named.conf.
choccarlm,

Not sure what your OS is, but if you happens to be running some kind of Unix variance, drop by http://www.webmin.com/ It has a nice Web based interface for sysadmin stuff, and yes, bind modules are also available..
Hi,

Don't put the allow-transfer {}; statement on the slave.  That should go on the master and have the slave server as the arguement.  Another tip is to have only your slaves performing your query resolution.  That way your master is safe behind a firewall and only allowed to send zone transfers to your slaves.

One redundant way to do it, is to have a master and two slaves.  The master is on your private net with the two slaves out on your DMZ.  Use a firewall to lock down the traffic to and from your master to allow only transfers to the slaves. Make the slaves non-recursive and do not allow transfers on the zone records.

EW
EdUSC

Of cource you should have allow transfer on the slave, if for no other reason then to prevent people from doing zone-stealing.
True.  I realized that after I sent the comment that there should be an allow-transfer {none;} in the slaves as well.

Oops.  That's what I get for speaking w/o notes... :o)
choccarlm:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
i'll go for the 1st comment by jim.
ahoffmann: CC ?...  Another Spanish word ?
> CC ?...  Another Spanish word ?
LOL

s/CC/Cc:/ && s/Cc:/carbon copy/ && s/carbon copy/I'll second that/
not very spanish, isn't it?
;-)