]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
A slightly better solution
authorStephen Gran <steve@lobefin.net>
Wed, 27 May 2009 18:19:51 +0000 (19:19 +0100)
committerStephen Gran <steve@lobefin.net>
Wed, 27 May 2009 18:19:51 +0000 (19:19 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/geodns/files/common/named.conf.geo
modules/geodns/files/common/named.conf.options

index 8c65496d27031f175936a93ed03dd079a26e5334..8c21bb679d0049c68f349e1f0b0a8ff280c08ea5 100644 (file)
@@ -3,28 +3,10 @@
 // USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 //
 
-view "Nagios" {
-       match-clients {
-               Nagios;
-        };
-        recursion yes;
-        zone "security.debian.org" {
-                type master;
-                file "/etc/bind/db.security.debian.org.NA";
-               notify no;
-        };
-        zone "security.geo.debian.org" {
-                type master;
-                file "/etc/bind/db.security.debian.org.NA";
-               notify no;
-        };
-};
-
 view "Africa" {
        match-clients {
                Africa;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
                 file "/etc/bind/db.security.debian.org.AF";
@@ -41,7 +23,6 @@ view "Asia" {
        match-clients {
                Asia;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
                 file "/etc/bind/db.security.debian.org.AS";
@@ -58,7 +39,6 @@ view "Europe" {
        match-clients { 
                Europe; 
        };
-        recursion no;
         zone "security.debian.org" {
                 type master;
                 file "/etc/bind/db.security.debian.org.EU";
@@ -75,7 +55,6 @@ view "NorthAmerica" {
        match-clients {
                NorthAmerica;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
                 file "/etc/bind/db.security.debian.org.NA";
@@ -91,7 +70,6 @@ view "SouthAmerica" {
        match-clients {
                SouthAmerica;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
                 file "/etc/bind/db.security.debian.org.SA";
@@ -107,7 +85,6 @@ view "Oceania" {
        match-clients {
                Oceania;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
                 file "/etc/bind/db.security.debian.org.OC";
@@ -123,7 +100,6 @@ view "Antarctica" {
        match-clients {
                Antarctica;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
                 file "/etc/bind/db.security.debian.org.AN";
@@ -137,7 +113,6 @@ view "Antarctica" {
 };
 view "other" {
         match-clients { any; };
-        recursion no;
         zone "security.debian.org" {
                 type master;
                 file "/etc/bind/db.security.debian.org";
index 22127743bd93aecca2b8bc968cf0b15318b2c9d3..eabf92397d2f20956931515b69d5273d53bf524c 100644 (file)
@@ -21,6 +21,7 @@ options {
 
         auth-nxdomain no;    # conform to RFC1035
         listen-on-v6 { any; };
+        allow-recursion { Nagios; }
 };
 
 logging {