X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnamed%2Ffiles%2Fcommon%2Fnamed.conf.geo;h=475d4036406fee4a1337843297247a7fafbd846f;hb=5be0342100f487bfa5c0b3e2e4d5c18f786f6827;hp=ad520c37aef7da7b64818dd77870cb8b857b77e9;hpb=18e0a83f5c21c8f764f558784006c974bfc024e1;p=mirror%2Fdsa-puppet.git diff --git a/modules/named/files/common/named.conf.geo b/modules/named/files/common/named.conf.geo index ad520c37a..475d40364 100644 --- a/modules/named/files/common/named.conf.geo +++ b/modules/named/files/common/named.conf.geo @@ -1,4 +1,4 @@ -// This file was created by dsa-geodomains/zonebuilder --create-named-conf +// This file was created by auto-dns/build-zones --create-named-conf // and is distributed to hosts using puppet as // dsa-puppet/modules/geodns/files/common/named.conf.geo // you probably do not want to edit it manually wherever you find it @@ -6,25 +6,9 @@ view "AF" { match-clients { AF; }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.security.debian.org.AF"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AF"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "bugs.debian.org" { - type master; - file "/etc/bind/geodns/db.bugs.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; @@ -32,15 +16,7 @@ view "AF" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.AF"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "packages.debian.org" { - type master; - file "/etc/bind/geodns/db.packages.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; @@ -50,25 +26,9 @@ view "AF" { view "AN" { match-clients { AN; }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.security.debian.org.AN"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AN"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "bugs.debian.org" { - type master; - file "/etc/bind/geodns/db.bugs.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; @@ -76,15 +36,7 @@ view "AN" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.AN"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "packages.debian.org" { - type master; - file "/etc/bind/geodns/db.packages.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; @@ -94,25 +46,9 @@ view "AN" { view "AS" { match-clients { AS; }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.security.debian.org.AS"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AS"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "bugs.debian.org" { - type master; - file "/etc/bind/geodns/db.bugs.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; @@ -120,15 +56,7 @@ view "AS" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.AS"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "packages.debian.org" { - type master; - file "/etc/bind/geodns/db.packages.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; @@ -138,25 +66,9 @@ view "AS" { view "EU" { match-clients { EU; }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.security.debian.org.EU"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.EU"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "bugs.debian.org" { - type master; - file "/etc/bind/geodns/db.bugs.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; @@ -164,15 +76,7 @@ view "EU" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.EU"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "packages.debian.org" { - type master; - file "/etc/bind/geodns/db.packages.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; @@ -182,25 +86,9 @@ view "EU" { view "NA" { match-clients { NA; }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.security.debian.org.NA"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.NA"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "bugs.debian.org" { - type master; - file "/etc/bind/geodns/db.bugs.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -208,15 +96,7 @@ view "NA" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.NA"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "packages.debian.org" { - type master; - file "/etc/bind/geodns/db.packages.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -226,25 +106,9 @@ view "NA" { view "OC" { match-clients { OC; }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.security.debian.org.OC"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.OC"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "bugs.debian.org" { - type master; - file "/etc/bind/geodns/db.bugs.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; @@ -252,15 +116,7 @@ view "OC" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.OC"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "packages.debian.org" { - type master; - file "/etc/bind/geodns/db.packages.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; @@ -270,41 +126,37 @@ view "OC" { view "SA" { match-clients { SA; }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.security.debian.org.SA"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.SA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.SA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.debian.org" { +}; +view "undef" { + match-clients { undef; }; + + zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.undef"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "packages.debian.org" { + zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.packages.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.undef"; notify no; allow-query { any; }; allow-transfer { }; @@ -314,25 +166,9 @@ view "SA" { view "default" { match-clients { any; }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.security.debian.org"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "bugs.debian.org" { - type master; - file "/etc/bind/geodns/db.bugs.debian.org"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org"; notify no; allow-query { any; }; allow-transfer { }; @@ -340,15 +176,7 @@ view "default" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "packages.debian.org" { - type master; - file "/etc/bind/geodns/db.packages.debian.org"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org"; notify no; allow-query { any; }; allow-transfer { };