add a query log for now
This commit is contained in:
parent
f8367121d1
commit
dcab228d48
@ -23,6 +23,12 @@ logging {
|
|||||||
print-severity yes;
|
print-severity yes;
|
||||||
print-time iso8601-utc;
|
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" {
|
channel "default" {
|
||||||
file "/var/log/named/named.log";
|
file "/var/log/named/named.log";
|
||||||
print-category yes;
|
print-category yes;
|
||||||
@ -37,4 +43,5 @@ logging {
|
|||||||
category config { default; };
|
category config { default; };
|
||||||
category notify { xfr-out; };
|
category notify { xfr-out; };
|
||||||
category zoneload { default; };
|
category zoneload { default; };
|
||||||
|
category queries { query; };
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user