tpl-bind9/named.conf.options

31 lines
538 B
Plaintext
Raw Normal View History

2019-03-07 17:21:38 +01:00
options {
2019-04-26 21:32:25 +02:00
// Working directory of bind
directory "/var/cache/bind";
key-directory /etc/bind/keys ;
2019-03-07 17:21:38 +01:00
2019-04-26 21:32:25 +02:00
// Some DNSSEC options
2019-03-07 17:21:38 +01:00
dnssec-enable yes;
dnssec-validation auto;
auth-nxdomain no;
2019-04-26 21:32:25 +02:00
// Some security options
2019-03-07 17:21:38 +01:00
listen-on-v6 { any; };
version none;
hostname none;
server-id none;
2019-04-26 21:32:25 +02:00
// Disable recursion by default
recursion no;
2019-03-07 17:21:38 +01:00
2019-04-26 21:32:25 +02:00
// define queries options by default
allow-query { any; };
2019-03-07 17:21:38 +01:00
allow-query-cache { none; };
2019-04-26 21:32:25 +02:00
// Disable notify by default
notify no;
2019-03-07 17:21:38 +01:00
2019-04-26 21:32:25 +02:00
// Disable transfer by default
2019-03-07 17:21:38 +01:00
allow-transfer { none; };
2019-04-26 21:32:25 +02:00
};