summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bind/named.conf.local42
1 files changed, 34 insertions, 8 deletions
diff --git a/bind/named.conf.local b/bind/named.conf.local
index 60d043f..15e64ae 100644
--- a/bind/named.conf.local
+++ b/bind/named.conf.local
@@ -1,9 +1,35 @@
-// include "/etc/local-COMMON/bind/named_NETx.LOCAL_fake.conf";
-include "/etc/local-COMMON/bind/named_BITBASE_sec.conf";
-include "/etc/local-COMMON/bind/named_HOMEBASE_sec.conf";
-#include "/etc/local-COMMON/bind/named_IDA_sec.conf";
-include "/etc/local-COMMON/bind/named_IDA_pri.conf";
include "/etc/local-COMMON/bind/named_IDA_acl.conf";
-include "/etc/local-COMMON/bind/named_LAB_sec.conf";
-include "/etc/local-COMMON/bind/named_DGIH_sec.conf";
-include "/etc/local-COMMON/bind/named_CONDUCT_sec.conf";
+
+view "internal" {
+ match-clients { localnets; };
+
+ include "/etc/local-COMMON/bind/named_BASE.conf";
+# include "/etc/local-COMMON/bind/named_JONES_fake.conf";
+ include "/etc/local-COMMON/bind/named_JONES_sec.conf";
+ include "/etc/local-COMMON/bind/named_BITBASE_sec.conf";
+ include "/etc/local-COMMON/bind/named_HOMEBASE_sec.conf";
+# include "/etc/local-COMMON/bind/named_IDA_sec.conf";
+ include "/etc/local-COMMON/bind/named_IDA_pri.conf";
+ include "/etc/local-COMMON/bind/named_IDA_acl.conf";
+ include "/etc/local-COMMON/bind/named_LAB_sec.conf";
+ include "/etc/local-COMMON/bind/named_DGIH_sec.conf";
+ include "/etc/local-COMMON/bind/named_CONDUCT_sec.conf";
+
+};
+
+view "external" {
+ match-clients { any; };
+ recursion no;
+
+ include "/etc/local-COMMON/bind/named_BASE.conf";
+ include "/etc/local-COMMON/bind/named_JONES_sec.conf";
+ include "/etc/local-COMMON/bind/named_BITBASE_sec.conf";
+ include "/etc/local-COMMON/bind/named_HOMEBASE_sec.conf";
+# include "/etc/local-COMMON/bind/named_IDA_sec.conf";
+ include "/etc/local-COMMON/bind/named_IDA_pri.conf";
+ include "/etc/local-COMMON/bind/named_IDA_acl.conf";
+ include "/etc/local-COMMON/bind/named_LAB_sec.conf";
+ include "/etc/local-COMMON/bind/named_DGIH_sec.conf";
+ include "/etc/local-COMMON/bind/named_CONDUCT_sec.conf";
+
+};