Set alternatives for editor
[mirror/dsa-puppet.git] / modules / geodns / files / common / named.conf.geo
index 8c65496..9cf43ca 100644 (file)
-//
-// THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
-// USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
-//
-
-view "Nagios" {
-       match-clients {
-               Nagios;
+view "AF" {
+        match-clients {
+                AF;
+        };
+        zone "www.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.AF";
+                notify no;
+        };
+        zone "www.geo.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.AF";
+                notify no;
         };
-        recursion yes;
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.NA";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.AF";
+                notify no;
         };
         zone "security.geo.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.NA";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.AF";
+                notify no;
+        };
+        zone "video.debconf.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.video.debconf.debian.org.AF";
+                notify no;
         };
 };
 
-view "Africa" {
-       match-clients {
-               Africa;
+view "AN" {
+        match-clients {
+                AN;
+        };
+        zone "www.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.AN";
+                notify no;
+        };
+        zone "www.geo.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.AN";
+                notify no;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.AF";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.AN";
+                notify no;
         };
         zone "security.geo.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.AF";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.AN";
+                notify no;
+        };
+        zone "video.debconf.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.video.debconf.debian.org.AN";
+                notify no;
         };
 };
 
-view "Asia" {
-       match-clients {
-               Asia;
+view "AS" {
+        match-clients {
+                AS;
+        };
+        zone "www.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.AS";
+                notify no;
+        };
+        zone "www.geo.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.AS";
+                notify no;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.AS";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.AS";
+                notify no;
         };
         zone "security.geo.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.AS";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.AS";
+                notify no;
+        };
+        zone "video.debconf.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.video.debconf.debian.org.AS";
+                notify no;
         };
 };
 
-view "Europe" {
-       match-clients { 
-               Europe; 
-       };
-        recursion no;
+view "EU" {
+        match-clients {
+                EU;
+        };
+        zone "www.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.EU";
+                notify no;
+        };
+        zone "www.geo.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.EU";
+                notify no;
+        };
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.EU";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.EU";
+                notify no;
         };
         zone "security.geo.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.EU";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.EU";
+                notify no;
+        };
+        zone "video.debconf.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.video.debconf.debian.org.EU";
+                notify no;
         };
 };
 
-view "NorthAmerica" {
-       match-clients {
-               NorthAmerica;
+view "NA" {
+        match-clients {
+                NA;
+        };
+        zone "www.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.NA";
+                notify no;
+        };
+        zone "www.geo.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.NA";
+                notify no;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.NA";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.NA";
+                notify no;
         };
         zone "security.geo.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.NA";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.NA";
+                notify no;
+        };
+        zone "video.debconf.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.video.debconf.debian.org.NA";
+                notify no;
         };
 };
-view "SouthAmerica" {
-       match-clients {
-               SouthAmerica;
+
+view "OC" {
+        match-clients {
+                OC;
+        };
+        zone "www.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.OC";
+                notify no;
+        };
+        zone "www.geo.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.OC";
+                notify no;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.SA";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.OC";
+                notify no;
         };
         zone "security.geo.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.SA";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.OC";
+                notify no;
+        };
+        zone "video.debconf.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.video.debconf.debian.org.OC";
+                notify no;
         };
 };
-view "Oceania" {
-       match-clients {
-               Oceania;
+
+view "SA" {
+        match-clients {
+                SA;
+        };
+        zone "www.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.SA";
+                notify no;
+        };
+        zone "www.geo.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org.SA";
+                notify no;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.OC";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.SA";
+                notify no;
         };
         zone "security.geo.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.OC";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org.SA";
+                notify no;
+        };
+        zone "video.debconf.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.video.debconf.debian.org.SA";
+                notify no;
         };
 };
-view "Antarctica" {
-       match-clients {
-               Antarctica;
+
+view "default" {
+        match-clients {
+                any;
         };
-        recursion no;
-        zone "security.debian.org" {
+        zone "www.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.AN";
-               notify no;
+                file "/etc/bind/geodns/db.www.debian.org";
+                notify no;
         };
-        zone "security.geo.debian.org" {
+        zone "www.geo.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.AN";
-               notify no;
+                file "/etc/bind/geodns/db.www.debian.org";
+                notify no;
         };
-};
-view "other" {
-        match-clients { any; };
-        recursion no;
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org";
+                notify no;
         };
         zone "security.geo.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org";
-               notify no;
+                file "/etc/bind/geodns/db.security.debian.org";
+                notify no;
+        };
+        zone "video.debconf.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.video.debconf.debian.org";
+                notify no;
         };
 };
+