forked from evolix/ansible-roles
c6804e73e7
The required munin plugins and the logging necessary for them to work is now activated depending on the type of resolver and the logrotate file is changed from bind to bind9.
25 lines
552 B
Django/Jinja
25 lines
552 B
Django/Jinja
options {
|
|
directory "/var/cache/bind";
|
|
version "Bingo";
|
|
auth-nxdomain no;
|
|
listen-on-v6 { ::1; };
|
|
listen-on { 127.0.0.1; };
|
|
allow-recursion { ::1; 127.0.0.1; };
|
|
};
|
|
|
|
logging {
|
|
category default { default_file; };
|
|
category queries { query_logging; };
|
|
|
|
channel default_file {
|
|
file "/var/log/bind.log";
|
|
severity info;
|
|
};
|
|
channel query_logging {
|
|
file "/var/log/bind_queries.log" versions 2 size 128M;
|
|
print-category yes;
|
|
print-severity yes;
|
|
print-time yes;
|
|
};
|
|
};
|