25 lines
392 B
Plaintext
25 lines
392 B
Plaintext
options {
|
|
directory "/var/cache/bind";
|
|
listen-on port 53 { any; };
|
|
allow-query { any; };
|
|
recursion no;
|
|
};
|
|
|
|
zone "example.com" {
|
|
type master;
|
|
file "/etc/bind/db.example.com";
|
|
};
|
|
|
|
zone "sub.example.com" {
|
|
type delegation-only;
|
|
};
|
|
|
|
logging {
|
|
channel default_log {
|
|
file "/var/log/named.log";
|
|
severity info;
|
|
print-time yes;
|
|
};
|
|
category default { default_log; };
|
|
};
|