Multiple instances of BIND at startup

Jonathan Chen jonc at chen.org.nz
Thu May 22 02:08:50 UTC 2008


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 <jonc at chen.org.nz>
----------------------------------------------------------------------
             "A person should be able to do a small bit of everything,
                                        specialisation is for insects"


More information about the freebsd-questions mailing list