On 2021-04-14 04:38, Gaurav Kansal wrote:
Is there a way, by which we can log denied statement w.r.t. view
somewhere in logging ?

The thing is, your view did not deny anything.  Your non-.IN client
simply does not match the match-clients list for that view.

On 14/04/21 1:48 am, ma...@isc.org wrote:

Real world configurations would have a catch all view after the
more specific views. Add one.

And that's what Mark is suggesting here.  If you follow your view
with another view:

view "any" {
    match-clients { any; };
    allow-recursion no;
    allow-query { none; };
};

... then you get your denied query.

On 13 Apr 2021, at 22:41, Sachchidanand Upadhyay via bind-users
<bind-users@lists.isc.org> wrote:
snip
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to