86 lines
1.9 KiB
Plaintext
86 lines
1.9 KiB
Plaintext
// vim:set ts=4 sw=4 et:
|
|
|
|
options {
|
|
directory "/var/named";
|
|
pid-file "/run/named/named.pid";
|
|
|
|
forwarders { 1.1.1.1; 1.0.0.1; 8.8.8.8; 8.8.4.4; 213.133.100.100; 213.133.99.99; 213.133.98.98; 2a01:4f8:0:1::add:9898; 2a01:4f8:0:1::add:9999; 2a01:4f8:0:1::add:1010; };
|
|
dnssec-enable no;
|
|
dnssec-validation no;
|
|
|
|
allow-recursion { ::1; 127.0.0.1; 172.20.177.32/27; fdff:b02d:2ef7::/64; 2a01:4f8:241:f98::/64; 136.243.185.240/29; };
|
|
allow-transfer { none; };
|
|
allow-update { none; };
|
|
|
|
version none;
|
|
hostname none;
|
|
server-id none;
|
|
};
|
|
|
|
zone "zotan.dn42" {
|
|
type master;
|
|
file "zotan.dn42.zone"; # zone file path
|
|
};
|
|
|
|
zone "localhost" IN {
|
|
type master;
|
|
file "localhost.zone";
|
|
};
|
|
|
|
zone "32/27.177.20.172.in-addr.arpa" IN {
|
|
type master;
|
|
file "32_27.177.20.172.in-addr.arpa.zone";
|
|
};
|
|
|
|
zone "0.0.127.in-addr.arpa" IN {
|
|
type master;
|
|
file "127.0.0.zone";
|
|
};
|
|
|
|
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" {
|
|
type master;
|
|
file "localhost.ip6.zone";
|
|
};
|
|
|
|
zone "dn42" {
|
|
type forward;
|
|
forwarders { 172.20.0.53; fd42:d42:d42:54::1; };
|
|
};
|
|
|
|
zone "20.172.in-addr.arpa" {
|
|
type forward;
|
|
forwarders { 172.20.0.53; fd42:d42:d42:54::1; };
|
|
};
|
|
|
|
zone "22.172.in-addr.arpa" {
|
|
type forward;
|
|
forwarders { 172.20.0.53; fd42:d42:d42:54::1; };
|
|
};
|
|
|
|
zone "23.172.in-addr.arpa" {
|
|
type forward;
|
|
forwarders { 172.20.0.53; fd42:d42:d42:54::1; };
|
|
};
|
|
|
|
//zone "example.org" IN {
|
|
// type slave;
|
|
// file "example.zone";
|
|
// masters {
|
|
// 192.168.1.100;
|
|
// };
|
|
// allow-query { any; };
|
|
// allow-transfer { any; };
|
|
//};
|
|
|
|
//logging {
|
|
// channel xfer-log {
|
|
// file "/var/log/named.log";
|
|
// print-category yes;
|
|
// print-severity yes;
|
|
// severity info;
|
|
// };
|
|
// category xfer-in { xfer-log; };
|
|
// category xfer-out { xfer-log; };
|
|
// category notify { xfer-log; };
|
|
//};
|