Set alternatives for editor
[mirror/dsa-puppet.git] / modules / geodns / files / common / named.conf.geo
index 6d6f4c0..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 'Africa' {
-       match-clients {
-               Africa;
+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 no;
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.AF";
+                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.AF";
+                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 'Asia' {
-       match-clients {
-               Asia;
+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.AS";
+                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.AS";
+                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 'Europe' {
-       match-clients { 
-               Europe; 
-       };
-        recursion no;
+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;
+        };
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.EU";
+                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.EU";
+                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 'NorthAmerica' {
-       match-clients {
-               NorthAmerica;
+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;
         };
-        recursion no;
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org.NA";
+                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.NA";
+                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 'SouthAmerica' {
-       match-clients {
-               SouthAmerica;
+
+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.SA";
+                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.SA";
+                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 'Oceania' {
-       match-clients {
-               Oceania;
+
+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.OC";
+                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.OC";
+                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 'Antarctica' {
-       match-clients {
-               Antarctica;
+
+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.AN";
+                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.AN";
+                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 "other" {
-        match-clients { any; };
-        recursion no;
+
+view "default" {
+        match-clients {
+                any;
+        };
+        zone "www.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org";
+                notify no;
+        };
+        zone "www.geo.debian.org" {
+                type master;
+                file "/etc/bind/geodns/db.www.debian.org";
+                notify no;
+        };
         zone "security.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org";
+                file "/etc/bind/geodns/db.security.debian.org";
+                notify no;
         };
         zone "security.geo.debian.org" {
                 type master;
-                file "/etc/bind/db.security.debian.org";
+                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;
         };
 };
+