2018-11-22 16:04:30 +00:00
|
|
|
options {
|
|
|
|
directory "/var/cache/bind";
|
|
|
|
|
|
|
|
// If there is a firewall between you and nameservers you want
|
|
|
|
// to talk to, you may need to fix the firewall to allow multiple
|
|
|
|
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
|
|
|
|
|
|
|
|
// If your ISP provided one or more IP addresses for stable
|
|
|
|
// nameservers, you probably want to use them as forwarders.
|
|
|
|
// Uncomment the following block, and insert the addresses replacing
|
|
|
|
// the all-0's placeholder.
|
|
|
|
|
|
|
|
forwarders {
|
2018-11-26 01:29:39 +00:00
|
|
|
// 172.98.193.42;
|
|
|
|
// 198.206.14.241;
|
2018-11-22 16:04:30 +00:00
|
|
|
};
|
2018-11-24 22:14:56 +00:00
|
|
|
allow-recursion { any; };
|
2018-11-25 15:53:57 +00:00
|
|
|
allow-query { any; };
|
|
|
|
allow-query-cache { any; };
|
|
|
|
version "[hidden]";
|
2020-04-14 12:17:58 +00:00
|
|
|
// rate-limit { all-per-second 6; };
|
|
|
|
rate-limit {
|
|
|
|
responses-per-second 10;
|
|
|
|
window 5;
|
|
|
|
};
|
2018-11-22 16:04:30 +00:00
|
|
|
//========================================================================
|
|
|
|
// If BIND logs error messages about the root key being expired,
|
|
|
|
// you will need to update your keys. See https://www.isc.org/bind-keys
|
|
|
|
//========================================================================
|
2018-11-23 03:38:14 +00:00
|
|
|
dnssec-validation no;
|
2018-11-22 16:04:30 +00:00
|
|
|
|
|
|
|
auth-nxdomain no; # conform to RFC1035
|
|
|
|
listen-on-v6 { any; };
|
|
|
|
};
|
|
|
|
|