How can I log only autorized queries
Mik J
mikydevel at yahoo.fr
Fri Jan 13 20:24:59 UTC 2017
Hello,
I'm logging queries
channel queries_file {
file "/var/log/queries.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
category queries { queries_file; };
And queries that are not allowed
channel "dns_secu" {
file "/var/log/dnssecurity" versions 2 size 10485760;
severity info;
print-time yes;
print-severity yes;
print-category yes;
};
category "update-security" { "dns_secu"; };
In the file queries.log I can see the queries but I would like to have it only for valid queries (not REFUSED)
How can I do this ?
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20170113/ae739465/attachment.html>
More information about the bind-users
mailing list