fff-ab-01/etc/bind/named.conf.logging

21 lines
351 B
Plaintext
Raw Permalink Normal View History

2017-11-19 21:17:32 +01:00
// Anlegen des Logfiles
// touch /var/log/bind-queries.log
// chown bind. /var/log/bind-queries.log
logging {
// Alle DNS-Anfragen mitloggen
channel "all_queries" {
file "/var/log/bind-queries.log" versions 3 size 5m;
severity info;
print-time yes;
print-severity yes;
print-category yes;
};
category queries {
all_queries;
};
};