1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-05 05:22:24 +08:00
NeoNetwork/dns/named.conf

86 lines
1.7 KiB
Text
Raw Normal View History

2019-10-29 18:19:10 +08:00
// vim:set ts=4 sw=4 et:
options {
directory "/var/named";
pid-file "/run/named/named.pid";
// Uncomment these to enable IPv6 connections support
// IPv4 will still work:
2020-01-21 13:36:32 +08:00
#listen-on-v6 { any; };
2019-10-29 18:19:10 +08:00
// Add this for no IPv4:
2020-01-21 13:36:32 +08:00
listen-on { any; };
2019-10-29 18:19:10 +08:00
2020-04-22 14:41:24 +08:00
allow-recursion { any; };
2019-10-29 18:19:10 +08:00
allow-transfer { none; };
2020-01-21 13:36:32 +08:00
allow-query { any; };
2019-10-29 18:19:10 +08:00
allow-update { none; };
2020-01-21 13:36:32 +08:00
forwarders {
1.1.1.1;
8.8.4.4;
};
forward only;
2019-10-29 18:19:10 +08:00
version none;
hostname none;
server-id none;
dnssec-enable yes;
dnssec-validation yes;
2020-05-11 17:24:10 +08:00
dnssec-must-be-secure neo. no;
2019-10-29 18:19:10 +08:00
};
zone "localhost" IN {
type master;
file "localhost.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";
};
2020-04-22 14:41:24 +08:00
zone "neo." IN {
2019-10-29 18:19:10 +08:00
type forward;
forward only;
2020-05-11 17:24:10 +08:00
forwarders { 10.127.255.1; };
};
zone "127.10.in-addr.arpa" IN {
type forward;
forward only;
2020-05-11 17:24:10 +08:00
forwarders { 10.127.255.1; };
2019-10-29 18:19:10 +08:00
};
2020-06-02 11:55:26 +08:00
2020-06-02 21:10:41 +08:00
zone "7.2.1.0.0.1.d.f.ip6.arpa" IN {
2020-06-02 11:55:26 +08:00
type forward;
forward only;
forwarders { 10.127.255.1; };
};
2019-10-29 18:19:10 +08:00
//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; };
//};