This commit is contained in:
12
named.conf
12
named.conf
@@ -17,6 +17,9 @@ options {
|
||||
// Disable recursion (authoritative only)
|
||||
recursion no;
|
||||
|
||||
// Enable query logging
|
||||
querylog yes;
|
||||
|
||||
// Global notification and transfer settings
|
||||
notify yes;
|
||||
also-notify {
|
||||
@@ -63,7 +66,16 @@ logging {
|
||||
print-category yes;
|
||||
};
|
||||
|
||||
channel query_log {
|
||||
file "/var/log/named/queries.log" versions 3 size 10m;
|
||||
severity info;
|
||||
print-time yes;
|
||||
print-severity yes;
|
||||
print-category yes;
|
||||
};
|
||||
|
||||
category default { default_log; };
|
||||
category queries { query_log; };
|
||||
category xfer-in { transfer_log; };
|
||||
category xfer-out { transfer_log; };
|
||||
category notify { transfer_log; };
|
||||
|
||||
Reference in New Issue
Block a user