Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2007 13:12:15 -0500
From:      Jeffrey Goldberg <jeffrey@goldmark.org>
To:        Yuri Pankov <yuri.pankov@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Different DNS responses depending on query source
Message-ID:  <722725C4-F21E-4939-BE0D-E1D2B8B3C4EA@goldmark.org>
In-Reply-To: <470E4AFC.9070505@mail.ru>
References:  <82158399-7871-4582-984C-61BC2462543C@goldmark.org> <470E4AFC.9070505@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 11, 2007, at 11:10 AM, Yuri Pankov wrote:

> Jeffrey Goldberg wrote:

>> So is there a way to have bind listening on the only interface and  
>> IP address the host can have give different answers depending on  
>> where the query comes from?

> You can use BIND's "view" statement:
> http://www.isc.org/sw/bind/arm94/ 
> Bv9ARM.ch06.html#view_statement_grammar

Thank you and others who have pointed out the the view statement in  
BIND 9 does exactly what I want.  I (obviously) hadn't been aware of  
the view statement until now.

I'd also like to thank Jonathan Horne who off-list pointed me to a  
detailed article with examples he wrote that covers precisely my case.

-j


-- 
Jeffrey Goldberg                        http://www.goldmark.org/jeff/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?722725C4-F21E-4939-BE0D-E1D2B8B3C4EA>