Re: Starting two instances of bind - method?

2004-02-08 Thread Tony Frank
Hi there,

On Sat, Feb 07, 2004 at 01:45:10PM -0500, Chad M Stewart wrote:
 I want to run two instances of Bind 9 on the same box.  Both will be 
 chrooted and have their own IPs.  At some point I may choose to put 
 them in jails, but for now no.  One step at a time. :)
 
 I'm wondering what suggestions people might have for getting each 
 started up during the normal boot process.  I see the options in 
 /etc/defaults/rc.conf and could put my own stuff in /etc/rc.conf but as 
 far as I can tell that would only work for a single instance.  How 
 would I get the other instance to start up?   The same binary can be 
 used for both, just different configuration files and chroots.

Your biggest issue is that unless you are using separate IP for each
instance of bind, you will have problems as both will by default 
need to use port 53 for DNS service.

Perhaps you want to investigate the use of Bind9 view function
which lets you show different data to different clients.

The ISC homepage for bind is an excellent resource:
http://www.isc.org/index.pl?/sw/bind/

As is the DNS and BIND book by Albitz  Liu from Oreilly.

Regards,

Tony
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Starting two instances of bind - method?

2004-02-07 Thread Chad M Stewart
I want to run two instances of Bind 9 on the same box.  Both will be 
chrooted and have their own IPs.  At some point I may choose to put 
them in jails, but for now no.  One step at a time. :)

I'm wondering what suggestions people might have for getting each 
started up during the normal boot process.  I see the options in 
/etc/defaults/rc.conf and could put my own stuff in /etc/rc.conf but as 
far as I can tell that would only work for a single instance.  How 
would I get the other instance to start up?   The same binary can be 
used for both, just different configuration files and chroots.

Thanks,
Chad
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]