You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

63 lines
1.5 KiB

##
## @l_prefix@/etc/bind/named.conf -- BIND configuration
##
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; }
keys { "rndc-key"; };
};
include "@l_prefix@/etc/bind/rndc.key";
logging {
channel logfile {
file "@l_prefix@/var/bind/named.log";
severity info;
print-category yes;
print-severity no;
print-time yes;
};
category "default" { "logfile"; };
category "general" { "logfile"; };
category "security" { "logfile"; "default_syslog"; };
};
options {
pid-file "@l_prefix@/var/bind/named.pid";
directory "@l_prefix@/etc/bind/named.db";
allow-query { any; };
allow-transfer { any; };
transfers-in 10;
transfers-per-ns 2;
max-transfer-time-in 120;
transfer-format one-answer;
cleaning-interval 60;
interface-interval 60;
#listen-on port 53 { 127.0.0.1; };
#query-source address 127.0.0.1 port *;
#transfer-source 127.0.0.1;
#notify-source 127.0.0.1;
};
zone "." IN {
type hint;
file "db.root";
};
zone "localhost" IN {
type master;
file "db.localhost";
notify no;
allow-update { none; };
allow-transfer { any; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "db.127.0.0";
notify no;
allow-update { none; };
allow-transfer { any; };
};