Disable response to specific query in BIND

Barry Margolin barmar at alum.mit.edu
Mon Jun 21 17:45:08 UTC 2004


In article <cb74kh$1ofo$1 at sf1.isc.org>, jckim at kidc.net (Sonorix) wrote:

> Hi..
> 
> I'm trying to find a way to restrict response to specific domain query.
> 
> for example,
> For the query about some hosts in "aaa.com",
> I don't want to make recursive lookup for that domain, only
> want to disconnect that requests or something like that.
> 
> Which is the best way?
> 
> For workaround, I made a zone file that have only loopback addresses for
> all hosts and load it for some domains to get above goals.

zone "aaa.com" {
  type forward;
  forwarders { <any address>; };
  allow-query { none; };
};

-- 
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