From owner-freebsd-questions@FreeBSD.ORG Thu May 22 00:03:49 2008 Return-Path: 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 70023106567A for ; Thu, 22 May 2008 00:03:49 +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 11A7A8FC13 for ; Thu, 22 May 2008 00:03:48 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: (qmail 24222 invoked by uid 1002); 22 May 2008 00:03:49 -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.067691 secs); 22 May 2008 00:03:49 -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; 22 May 2008 00:03:48 -0000 Message-ID: <4834B7EE.3000002@ibctech.ca> Date: Wed, 21 May 2008 20:01:50 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Jonathan Chen References: <48345138.8080507@ibctech.ca> <4834599A.1090108@infracaninophile.co.uk> <4834A7B4.9030302@ibctech.ca> <20080521232319.GA57359@osiris.chen.org.nz> In-Reply-To: <20080521232319.GA57359@osiris.chen.org.nz> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 00:03:49 -0000 Jonathan Chen wrote: > On Wed, May 21, 2008 at 06:52:36PM -0400, Steve Bertrand wrote: > >> 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. > > Can you not make use of BIND 9's "view" features? Possibly each view > using a match-destinations block to map to either the authoritative > or the caching services. Well, from what I read (I can't remember where), if I use views to do this with only a single instance running, the problem arises that even though the 'external' (requests for authoritative answers) clients can and will get responses from the caching side of the server if the result they are after is already cached. I want the two services to be completely disparate, and more precise, I'd like to have the recursive instance to have to query the authoritative instance for a result from the same box. I have this setup already working fine. I just can't get it to start properly with both instances :) If I am missing something, and you have a config example, it would be appreciated. Steve