In message <dcf41a2c-d461-4e78-82cd-0add12051...@menandmice.com>, Chris Buxton 
writes:
> On Dec 3, 2009, at 10:16 AM, Kevin Darcy wrote:
> > Chris Buxton wrote:
> >> On Dec 2, 2009, at 6:40 AM, Dmitry Rybin wrote:
> >>> Hello!
> >>> 
> >>> I can't find in docs how disable answer (Refused), if recursion for IP is
>  not allowed?
> >> 
> >> 
> >> Something like this should work:
> >> _________________________________
> >> 
> >> view caching-server {
> >>    match-recursive-only yes;
> >>    blackhole { ! authorized-clients; any; };
> >>    // any other resolution configuration goes here
> >> };
> >> 
> > 
> > "This should work" <--- one of the scariest phrases in the computing field 
> :-)
> 
> True, true. It means, of course, "The docs suggest this will work, but I have
> n't actually tested it."
> 
> > Unfortunately, "blackhole" can only appear the (global) "options" clause:
> 
> I'm happy to be corrected. You'd never know this from reading the BIND ARM.
> 
> >From the description of the view statement:
> 
>       Many of the options given in the options statement can also be used
>       within a view statement, and then apply only when resolving queries
>       with that view.
> 
> There is no definitive list of the options that can or can not be used in a v
> iew. Likewise, the description of the blackhole statement makes no mention of
>  the fact that it's not valid inside a view.

doc/misc/options gives a definitive list.  It is built from the parser.

> So, to the original poster, we're back to "it can't be done with BIND configu
> ration." Of course, you could hack the BIND source code...
> 
> Chris Buxton
> Professional Services
> Men & Mice
> 
> _______________________________________________
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: ma...@isc.org
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to