Fixing bind9 config

cubox-m still doesn't respond to outside requests
This commit is contained in:
2022-08-25 08:03:45 -04:00
parent 47dfd8aa22
commit 20d18ec966
26 changed files with 350 additions and 350 deletions

View File

@@ -3,29 +3,15 @@
# - local zones and views
view "internal" {
match-clients { trusted; };
match-clients {
any;
};
recursion yes;
// zone "." in {
// type hint;
// file "/etc/bind/named.cache";
// };
zone "localhost" IN {
type master;
file "/etc/bind/db.127";
notify no;
};
zone "127.in-addr.arpa" IN {
type master;
file "/etc/bind/db.127";
notify no;
};
zone "xai-corp.net." IN {
type master;
file "/etc/bind/db.xai-corp.net.internal";
allow-query { any; };
allow-transfer { none; };
};
@@ -37,9 +23,9 @@ view "internal" {
};
view "external" {
match-clients { none; };
recursion no;
//view "external" {
// match-clients { none; };
// recursion no;
// zone "xai-corp.net" {
@@ -48,7 +34,7 @@ view "external" {
// allow-query { none; };
// allow-transfer { 127.0.0.1; };
// };
};
//};
/*
* Briefly, a zone which has been declared delegation-only will be effectively