X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnamed%2Ffiles%2Fcommon%2Fnamed.conf.geo;h=63512d5a418070893de0c8c705832be8306217da;hb=175c9bc26de888ba32a7677aa393621425d595f5;hp=41549426bbb0c05066895030559e98ad33469e0b;hpb=e424b40270268b17a9601e156d3dc6029e24fca7;p=mirror%2Fdsa-puppet.git diff --git a/modules/named/files/common/named.conf.geo b/modules/named/files/common/named.conf.geo index 41549426b..63512d5a4 100644 --- a/modules/named/files/common/named.conf.geo +++ b/modules/named/files/common/named.conf.geo @@ -6,25 +6,33 @@ view "AF" { match-clients { AF; }; - zone "volatile.debian.org" { + zone "archive.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.geo.debian.org" { + zone "backports.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.backports.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.debian.org" { + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.AF"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "ftp-upcoming.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.ftp-upcoming.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; @@ -32,31 +40,47 @@ view "AF" { zone "ftp.debian.org" { type master; - file "/etc/bind/geodns/db.ftp.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.debian.org" { + zone "security.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 { }; }; - zone "packages.debian.org" { + zone "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.AF"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.AF"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "www.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 { }; @@ -66,25 +90,33 @@ view "AF" { view "AN" { match-clients { AN; }; - zone "volatile.debian.org" { + zone "archive.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.geo.debian.org" { + zone "backports.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.backports.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.debian.org" { + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.AN"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "ftp-upcoming.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.ftp-upcoming.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; @@ -92,31 +124,47 @@ view "AN" { zone "ftp.debian.org" { type master; - file "/etc/bind/geodns/db.ftp.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.debian.org" { + zone "security.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 { }; }; - zone "packages.debian.org" { + zone "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.AN"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.AN"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "www.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 { }; @@ -126,25 +174,33 @@ view "AN" { view "AS" { match-clients { AS; }; - zone "volatile.debian.org" { + zone "archive.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.geo.debian.org" { + zone "backports.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.backports.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.debian.org" { + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.AS"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "ftp-upcoming.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.ftp-upcoming.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; @@ -152,31 +208,47 @@ view "AS" { zone "ftp.debian.org" { type master; - file "/etc/bind/geodns/db.ftp.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.debian.org" { + zone "security.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 { }; }; - zone "packages.debian.org" { + zone "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.AS"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.AS"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "www.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 { }; @@ -186,25 +258,33 @@ view "AS" { view "EU" { match-clients { EU; }; - zone "volatile.debian.org" { + zone "archive.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.geo.debian.org" { + zone "backports.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.backports.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.debian.org" { + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.EU"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "ftp-upcoming.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.ftp-upcoming.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; @@ -212,31 +292,47 @@ view "EU" { zone "ftp.debian.org" { type master; - file "/etc/bind/geodns/db.ftp.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.debian.org" { + zone "security.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 { }; }; - zone "packages.debian.org" { + zone "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.EU"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.EU"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "www.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 { }; @@ -246,25 +342,33 @@ view "EU" { view "NA" { match-clients { NA; }; - zone "volatile.debian.org" { + zone "archive.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.geo.debian.org" { + zone "backports.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.backports.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.debian.org" { + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.NA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "ftp-upcoming.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.ftp-upcoming.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -272,31 +376,47 @@ view "NA" { zone "ftp.debian.org" { type master; - file "/etc/bind/geodns/db.ftp.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.debian.org" { + zone "security.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 { }; }; - zone "packages.debian.org" { + zone "snapshot.debian.org" { type master; - file "/etc/bind/geodns/db.packages.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.NA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.NA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -306,25 +426,33 @@ view "NA" { view "OC" { match-clients { OC; }; - zone "volatile.debian.org" { + zone "archive.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.geo.debian.org" { + zone "backports.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.backports.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.debian.org" { + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.OC"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "ftp-upcoming.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.ftp-upcoming.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; @@ -332,31 +460,47 @@ view "OC" { zone "ftp.debian.org" { type master; - file "/etc/bind/geodns/db.ftp.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.debian.org" { + zone "security.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 { }; }; - zone "packages.debian.org" { + zone "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.OC"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.OC"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "www.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 { }; @@ -366,25 +510,33 @@ view "OC" { view "SA" { match-clients { SA; }; - zone "volatile.debian.org" { + zone "archive.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.SA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.geo.debian.org" { + zone "backports.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.backports.debian.org.SA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.debian.org" { + zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.SA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "ftp-upcoming.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.ftp-upcoming.debian.org.SA"; notify no; allow-query { any; }; allow-transfer { }; @@ -392,15 +544,39 @@ view "SA" { zone "ftp.debian.org" { type master; - file "/etc/bind/geodns/db.ftp.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.SA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "packages.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.SA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "security.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.SA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.SA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.SA"; notify no; allow-query { any; }; allow-transfer { }; @@ -408,7 +584,51 @@ view "SA" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.SA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + +}; +view "undef" { + match-clients { undef; }; + + zone "archive.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.undef"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "backports.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.backports.debian.org.undef"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.undef"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "ftp-upcoming.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.ftp-upcoming.debian.org.undef"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "ftp.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.undef"; notify no; allow-query { any; }; allow-transfer { }; @@ -416,7 +636,39 @@ view "SA" { zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.packages.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.undef"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "security.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.undef"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.undef"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.undef"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.undef"; notify no; allow-query { any; }; allow-transfer { }; @@ -426,25 +678,33 @@ view "SA" { view "default" { match-clients { any; }; - zone "volatile.debian.org" { + zone "archive.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org"; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.geo.debian.org" { + zone "backports.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org"; + file "/etc/bind/geodns/zonefiles/db.backports.debian.org"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "security.debian.org" { + zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "ftp-upcoming.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.ftp-upcoming.debian.org"; notify no; allow-query { any; }; allow-transfer { }; @@ -452,31 +712,47 @@ view "default" { zone "ftp.debian.org" { type master; - file "/etc/bind/geodns/db.ftp.debian.org"; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.debian.org" { + zone "security.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 { }; }; - zone "packages.debian.org" { + zone "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "www.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 { };