25 lines
391 B
Plaintext
25 lines
391 B
Plaintext
|
options {
|
||
|
directory "/var/bind";
|
||
|
|
||
|
// Configure the IPs to listen on here.
|
||
|
listen-on { any; };
|
||
|
listen-on-v6 { any; };
|
||
|
|
||
|
// If you want to allow only specific hosts to use the DNS server:
|
||
|
allow-query {
|
||
|
any;
|
||
|
};
|
||
|
|
||
|
allow-transfer {
|
||
|
none;
|
||
|
};
|
||
|
pid-file "/var/run/named/named.pid";
|
||
|
|
||
|
allow-recursion { none; };
|
||
|
recursion no;
|
||
|
};
|
||
|
|
||
|
zone "." {
|
||
|
type hint;
|
||
|
file "/etc/bind/db.root";
|
||
|
};
|