bind9-config
This commit is contained in:
20
etc/bind/named.conf.logging
Normal file
20
etc/bind/named.conf.logging
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
// 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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user