2017-02-23 23:06:28 +08:00
|
|
|
acl internal_networks {
|
|
|
|
127.0.0.0/8;
|
|
|
|
192.168.0.0/16;
|
|
|
|
172.16.0.0/12;
|
|
|
|
10.0.0.0/8;
|
2017-05-24 04:23:34 +08:00
|
|
|
fd4d:6169:6c63:6f77::/64;
|
2017-02-23 23:06:28 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
options {
|
2017-02-23 23:23:16 +08:00
|
|
|
directory "/var/bind";
|
2017-02-23 23:06:28 +08:00
|
|
|
allow-recursion { internal_networks; };
|
|
|
|
listen-on { any; };
|
2017-05-24 04:23:34 +08:00
|
|
|
listen-on-v6 { any; };
|
2017-02-23 23:06:28 +08:00
|
|
|
pid-file "/var/run/named/named.pid";
|
|
|
|
allow-transfer { none; };
|
|
|
|
dnssec-enable yes;
|
|
|
|
dnssec-validation yes;
|
|
|
|
dnssec-lookaside auto;
|
|
|
|
};
|
|
|
|
|
|
|
|
include "/etc/bind/bind.keys";
|