acl "slave_servers" {
123.123.123.123; };
acl "trusted" {
127.0.0.0/8;
::1/128;
123.123.123.123; };
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
listen-on { any; };
allow-query { any; };
allow-query-cache { any; };
allow-transfer { 123.123.123.123; };
also-notify { 123.123.123.123; };
allow-recursion { trusted; };
zone-statistics yes;
statistics-file "/var/cache/bind/named.stats";
auth-nxdomain no; # conform to RFC1035
};
};
logging {
channel default_log {
file "/var/log/named/named.log" versions 5 size 50M;
print-time yes;
print-severity yes;
print-category yes;
};
category default { default_log; };
category general { default_log; };
channel b_query {
file "/var/log/named/query.log" versions 2 size 1m;
print-time yes;
severity info;
};
category queries { b_query; };
};
include "/etc/rndc.key";
controls {
inet 127.0.0.1 port 953 allow { 127.0.0.1/32; ::1/128; } keys { "rndc-key"; };
};
zone domain.tld {
type master;
file "domain.tld.db";
};