Configuring BIND to give different IPs to different users

Barry Margolin barmar at alum.mit.edu
Wed May 19 19:25:15 UTC 2004


In article <c8gbac$1ord$1 at sf1.isc.org>, gilshai at hotmail.com (Gil Shai) 
wrote:

> Hi
> 
> Let's say I have BIND DNS cache server working and I get a query to
> resolve www.microsoft.com.
> I want to configure BIND to answer in two modes:
> 1) For IPs from a certain subnet, I would like to get the answer:
> 1.1.1.1
> 2) For IPs from a different IP subnet, I would like to get the real
> IP.
> 
> Can that be done?

Yes, use views.  In one view make the server authoritative for the 
"www.microsoft.com" zone, in the other view leave this zone out.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list