activate query log
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-10-27 16:30:39 +01:00
parent ac7a5ab287
commit 15e56a210c

View File

@@ -17,6 +17,9 @@ options {
// Disable recursion (authoritative only) // Disable recursion (authoritative only)
recursion no; recursion no;
// Enable query logging
querylog yes;
// Global notification and transfer settings // Global notification and transfer settings
notify yes; notify yes;
also-notify { also-notify {
@@ -63,7 +66,16 @@ logging {
print-category yes; 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 default { default_log; };
category queries { query_log; };
category xfer-in { transfer_log; }; category xfer-in { transfer_log; };
category xfer-out { transfer_log; }; category xfer-out { transfer_log; };
category notify { transfer_log; }; category notify { transfer_log; };