In article <mailman.523.1266888100.21153.bind-us...@lists.isc.org>,
 Geoff Sweet <geoff.sw...@wemadeusa.com> wrote:

> The problem is that editing the options list to:
> 
> options {
>         directory               "/var/named";
>         dump-file               "/var/named/data/cache_dump.db";
>         statistics-file         "/var/named/data/named_stats.txt";
>         memstatistics-file      "/var/named/data/named_mem_stats.txt";
>         allow-query             { any; };
>         allow-recursion         { wemadenets; };
> };
> 
> Allows anyone to make recursive requests for any name against my server.  I 
> don't want that.  By leaving the options list to " allow-query             { 
> localhost; localnets; wemadenets; };" I prevent any ole recursive query 
> (www.google.com for instance) except from my network while still allowing 
> queries to the zones that I host.  However that brings me back to my original 
> problem... it refuses queries for the reverse zone for my IP block.

Since you have "allow-query {wemadenets;};", clients outside that 
network will NOT be allowed to make recursive requests against your 
server.

But if you really don't want to change the allow-query option, you can 
put "allow-query {any;};" within all the zone stanzas.  That will just 
allow public queries for those zones, not for recursive or cached data.

-- 
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE don't copy me on replies, I'll read them in the group ***
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to