allow-query for a zone

Warren Kumari warren at kumari.net
Mon Jan 16 17:58:11 UTC 2012


On Jan 16, 2012, at 1:50 AM, Jeff Peng wrote:

> Hi,
> 
> If I just want to disable any client to query for a zone, but keep that zone in the config file (maybe later I will enable it to be accessable), can I just set:

Just out of interest, why wouldn't you just comment out the zone stanza? 

Would cut down on memory usage, load time, etc…

I'm sure you have a use case, just a wondering…

W


> 
> allow-query { none; };
> 
> in the zone section?
> 
> zone "example.com" {
>  type master;
>  file "example.com.db";
>  allow-query { none; };
> };
> 
> Thanks.
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> 


---
Don't be impressed with unintelligible stuff said condescendingly .
    -- Radia Perlman.

Warren Kumari
warren at kumari.net






More information about the bind-users mailing list