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=1864a1c9b4186b047fdb7524b8503e18e468cb3f;hpb=75e66d7ec3af2d12333a4acec5a109a778a78a28;p=mirror%2Fdsa-puppet.git diff --git a/modules/named/files/common/named.conf.geo b/modules/named/files/common/named.conf.geo index 1864a1c9b..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 "volatile.debian.org" { - type master; - file "/etc/bind/geodns/db.volatile.debian.org.AF"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - 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 { }; @@ -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 "volatile.debian.org" { - type master; - file "/etc/bind/geodns/db.volatile.debian.org.AN"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - 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 { }; @@ -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 "volatile.debian.org" { - type master; - file "/etc/bind/geodns/db.volatile.debian.org.AS"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - 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 { }; @@ -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 "volatile.debian.org" { - type master; - file "/etc/bind/geodns/db.volatile.debian.org.EU"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - 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 { }; @@ -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 "volatile.debian.org" { - type master; - file "/etc/bind/geodns/db.volatile.debian.org.NA"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - 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 { }; @@ -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 "volatile.debian.org" { - type master; - file "/etc/bind/geodns/db.volatile.debian.org.OC"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - 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 { }; @@ -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,33 +126,29 @@ view "OC" { view "SA" { match-clients { SA; }; - zone "volatile.debian.org" { + zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.SA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.geo.debian.org" { + zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.www.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"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; +}; +view "undef" { + match-clients { undef; }; - zone "bugs.debian.org" { + zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.undef"; notify no; allow-query { any; }; allow-transfer { }; @@ -352,15 +156,7 @@ view "SA" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.SA"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - zone "packages.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 "volatile.debian.org" { - type master; - file "/etc/bind/geodns/db.volatile.debian.org"; - notify no; - allow-query { any; }; - allow-transfer { }; - }; - - 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 { }; @@ -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 { };