mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-12-25 14:29:24 +08:00
Bind9 configuration
This commit is contained in:
parent
ef89c16f53
commit
e400c2ea20
1 changed files with 10 additions and 19 deletions
29
named.conf
29
named.conf
|
@ -6,14 +6,21 @@ options {
|
||||||
|
|
||||||
// Uncomment these to enable IPv6 connections support
|
// Uncomment these to enable IPv6 connections support
|
||||||
// IPv4 will still work:
|
// IPv4 will still work:
|
||||||
// listen-on-v6 { any; };
|
#listen-on-v6 { any; };
|
||||||
// Add this for no IPv4:
|
// 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-transfer { none; };
|
||||||
|
allow-query { any; };
|
||||||
allow-update { none; };
|
allow-update { none; };
|
||||||
|
|
||||||
|
forwarders {
|
||||||
|
1.1.1.1;
|
||||||
|
8.8.4.4;
|
||||||
|
};
|
||||||
|
|
||||||
|
forward only;
|
||||||
version none;
|
version none;
|
||||||
hostname none;
|
hostname none;
|
||||||
server-id 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";
|
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 {
|
zone "NeoNetwork.unix" IN {
|
||||||
type forward;
|
type forward;
|
||||||
forward only;
|
forward only;
|
||||||
|
@ -64,7 +56,6 @@ zone "127.10.in-addr.arpa" IN {
|
||||||
forward only;
|
forward only;
|
||||||
forwarders { 10.127.1.1; };
|
forwarders { 10.127.1.1; };
|
||||||
};
|
};
|
||||||
|
|
||||||
//zone "example.org" IN {
|
//zone "example.org" IN {
|
||||||
// type slave;
|
// type slave;
|
||||||
// file "example.zone";
|
// file "example.zone";
|
||||||
|
|
Loading…
Reference in a new issue