From owner-freebsd-questions@FreeBSD.ORG Thu May 22 02:08:50 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 B2410106566B for ; Thu, 22 May 2008 02:08:50 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 12FAE8FC1E for ; Thu, 22 May 2008 02:06:21 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id D63102841C; Thu, 22 May 2008 14:06:19 +1200 (NZST) Date: Thu, 22 May 2008 14:06:19 +1200 From: Jonathan Chen To: Steve Bertrand Message-ID: <20080522020619.GA69543@osiris.chen.org.nz> References: <48345138.8080507@ibctech.ca> <4834599A.1090108@infracaninophile.co.uk> <4834A7B4.9030302@ibctech.ca> <20080521232319.GA57359@osiris.chen.org.nz> <4834B7EE.3000002@ibctech.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4834B7EE.3000002@ibctech.ca> User-Agent: Mutt/1.4.2.3i 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 02:08:50 -0000 On Wed, May 21, 2008 at 08:01:50PM -0400, Steve Bertrand wrote: > 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 didn't quite parse this, could you please elaborate? > 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. The same result can be achieved by using the same master zone file in your caching and authoritative views. Not quite what you wanted, but the end result should be the same. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "A person should be able to do a small bit of everything, specialisation is for insects"