1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-22 08:50:39 +08:00

Bind9 configuration

This commit is contained in:
Neo_Chen 2020-01-21 13:36:32 +08:00
parent ef89c16f53
commit e400c2ea20

View file

@ -6,14 +6,21 @@ options {
// Uncomment these to enable IPv6 connections support
// IPv4 will still work:
// listen-on-v6 { any; };
#listen-on-v6 { any; };
// Add this for no IPv4:
// listen-on { none; };
listen-on { any; };
allow-recursion { 127.0.0.1; };
allow-recursion { 127.0.0.1; 10.127.0.0/16; };
allow-transfer { none; };
allow-query { any; };
allow-update { none; };
forwarders {
1.1.1.1;
8.8.4.4;
};
forward only;
version none;
hostname none;
server-id none;
@ -38,21 +45,6 @@ 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"
file "localhost.ip6.zone";
};
zone "255.in-addr.arpa" IN {
type master;
file "empty.zone";
};
zone "0.in-addr.arpa" IN {
type master;
file "empty.zone";
};
zone "." IN {
type hint;
file "root.hint";
};
zone "NeoNetwork.unix" IN {
type forward;
forward only;
@ -64,7 +56,6 @@ zone "127.10.in-addr.arpa" IN {
forward only;
forwarders { 10.127.1.1; };
};
//zone "example.org" IN {
// type slave;
// file "example.zone";