21 lines
351 B
Plaintext
21 lines
351 B
Plaintext
|
|
||
|
// 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;
|
||
|
};
|
||
|
};
|
||
|
|