Date: Sun, 8 Feb 2004 21:56:48 +1100 From: Tony Frank <tfrank@optushome.com.au> To: Chad M Stewart <cms@balius.com> Cc: freebsd-questions@freebsd.org Subject: Re: Starting two instances of bind - method? Message-ID: <20040208105648.GB92622@marvin.home.local> In-Reply-To: <C212C9C9-599D-11D8-908E-000A959CF11A@balius.com> References: <C212C9C9-599D-11D8-908E-000A959CF11A@balius.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040208105648.GB92622>