diff --git a/cfg/named.logging.conf b/cfg/named.logging.conf index c33d4cd..38358bd 100644 --- a/cfg/named.logging.conf +++ b/cfg/named.logging.conf @@ -23,6 +23,12 @@ logging { print-severity yes; print-time iso8601-utc; }; + channel "query" { + file "/var/log/named/queries.log" versions 6 size 1M suffix increment; + print-category yes; + print-severity yes; + print-time iso8601-utc; + }; channel "default" { file "/var/log/named/named.log"; print-category yes; @@ -37,4 +43,5 @@ logging { category config { default; }; category notify { xfr-out; }; category zoneload { default; }; + category queries { query; }; };