Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2011 10:57:33 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-questions@freebsd.org
Subject:   Re: mutual forwarders in ISC BIND
Message-ID:  <4EFAE80D.9040900@my.gd>
In-Reply-To: <20111228075422.GA18064@admin.sibptus.tomsk.ru>
References:  <20111228075422.GA18064@admin.sibptus.tomsk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help


On 12/28/11 8:54 AM, Victor Sudakov wrote:
> Colleagues,
> 
> This question is not directly related to FreeBSD, but perhaps some
> network administrators reading this list know the answer.
> 
> Can I setup several ISC BIND servers to be each other's mutual forwarders?
> Will it work or create an endless loop of DNS queries?
> 
> I have customers using several DNS servers as recursive resolvers. The
> usage pattern is pretty much equal between all the servers. What I
> want is create a cache common to all the recursive servers to reduce
> traffic and response time (much like squid siblings work). 
> 
> Thank you for any input.
> 


If your planned setup is:

DNS A, forward to DNS B on query fail
DNS B, forward to DNS A on query fail

Then this will indeed create a loop in case a query cannot be answered
by both servers.

Also, you won't want to do that.



If you're trying to build up a cache to improve performance and response
time, here's your scenario:

DNS C, forward to DNS A,B for all queries
DNS D, forward to DNS B,A for all queries

Your cache will start building up and only responses that are not cached
will be taken from your NS A and B servers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EFAE80D.9040900>