From owner-freebsd-questions@FreeBSD.ORG  Wed May 21 22:54:36 2008
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 21590106564A
	for <freebsd-questions@freebsd.org>;
	Wed, 21 May 2008 22:54:36 +0000 (UTC)
	(envelope-from iaccounts@ibctech.ca)
Received: from pearl.ibctech.ca (pearl.ibctech.ca [208.70.104.210])
	by mx1.freebsd.org (Postfix) with ESMTP id B7A308FC0A
	for <freebsd-questions@freebsd.org>;
	Wed, 21 May 2008 22:54:35 +0000 (UTC)
	(envelope-from iaccounts@ibctech.ca)
Received: (qmail 21574 invoked by uid 1002); 21 May 2008 22:54:36 -0000
Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with
	qmail-scanner-1.22 
	(spamassassin: 2.64.  Clear:RC:1(208.70.104.100):. 
	Processed in 0.072964 secs); 21 May 2008 22:54:36 -0000
Received: from unknown (HELO ?192.168.30.110?)
	(steve@ibctech.ca@208.70.104.100)
	by pearl.ibctech.ca with (DHE-RSA-AES256-SHA encrypted) SMTP;
	21 May 2008 22:54:35 -0000
Message-ID: <4834A7B4.9030302@ibctech.ca>
Date: Wed, 21 May 2008 18:52:36 -0400
From: Steve Bertrand <iaccounts@ibctech.ca>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: Matthew Seaman <m.seaman@infracaninophile.co.uk>
References: <48345138.8080507@ibctech.ca>
	<4834599A.1090108@infracaninophile.co.uk>
In-Reply-To: <4834599A.1090108@infracaninophile.co.uk>
X-Enigmail-Version: 0.95.6
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-questions@freebsd.org
Subject: Re: Multiple instances of BIND at startup
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 21 May 2008 22:54:36 -0000

>> However, how can I make the FreeBSD (7.0) startup scripts load both 
>> instances of BIND, each with it's own configuration?

> I did something very similar.  Run one of the bind instances in a jail --
> especially with a little firewall rdr rules and similar trickery to 
> redirect
> traffic into the appropriate instance (which gets you past the lack of IPv6
> support in jail(8)). Works beautifully.

Thanks Matthew for the response.

In all honesty, I want to stay away from jails as much as possible.

Once testing is complete, I'll have numerous DNS servers to roll this 
out to, and I want the least amount of complexity as possible.

A few years ago I switched our entire infrastructure from BIND to DJBDNS 
(with VegaDNS as a web front-end), and now I'm looking to go back.

Again, I'd rather do this without jails if possible, and at the same 
time, be able to use the built in FBSD startup scripts if possible. If 
not, heres another question:

If I need to create my own custom script to do this sort of thing, where 
should it be loaded from? Some of my firewall rulesets rely on DNS to be 
up prior to them.

Regards,

Steve