X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnamed%2Ffiles%2Fcommon%2Fnamed.conf.geo;h=475d4036406fee4a1337843297247a7fafbd846f;hb=de168787833dddc604663b6ee79e7abdaf158737;hp=13f6836e73e74427937b47eae41d1dd2a73bc168;hpb=dbd62982af66658f4d50e06ba125cc60545b59a3;p=mirror%2Fdsa-puppet.git diff --git a/modules/named/files/common/named.conf.geo b/modules/named/files/common/named.conf.geo index 13f6836e7..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,33 +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"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "www.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.www.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; @@ -40,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 { }; @@ -58,33 +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"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "www.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.www.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; @@ -92,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 { }; @@ -110,33 +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"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "www.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.www.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; @@ -144,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 { }; @@ -162,33 +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"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "www.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.www.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; @@ -196,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 { }; @@ -214,33 +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"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "www.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.www.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -248,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 { }; @@ -266,33 +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"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "www.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.www.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; @@ -300,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 { }; @@ -318,49 +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.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.www.debian.org.SA"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; +}; +view "undef" { + match-clients { undef; }; - zone "www.debian.org" { + 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 { }; @@ -370,33 +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"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "www.geo.debian.org" { - type master; - file "/etc/bind/geodns/db.www.debian.org"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org"; notify no; allow-query { any; }; allow-transfer { }; @@ -404,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 { };