X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnamed%2Ffiles%2Fcommon%2Fnamed.conf.geo;h=d99b01650ad2c05ceffdbc57b5ed08ca921e3e6f;hb=f749772c6b9d195d22e63e7457f0178267e797eb;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..d99b01650 100644 --- a/modules/named/files/common/named.conf.geo +++ b/modules/named/files/common/named.conf.geo @@ -6,9 +6,17 @@ view "AF" { match-clients { AF; }; - zone "security.geo.debian.org" { + zone "archive.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.archive.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 { }; @@ -16,23 +24,31 @@ view "AF" { zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "ftp.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.geo.debian.org" { + zone "snapshot.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.AF"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; @@ -40,7 +56,7 @@ view "AF" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; @@ -48,7 +64,7 @@ view "AF" { zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.packages.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; @@ -58,9 +74,17 @@ view "AF" { view "AN" { match-clients { AN; }; - zone "security.geo.debian.org" { + zone "archive.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.AN"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; @@ -68,23 +92,31 @@ view "AN" { zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "ftp.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.geo.debian.org" { + zone "snapshot.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.AN"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; @@ -92,7 +124,7 @@ view "AN" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; @@ -100,7 +132,7 @@ view "AN" { zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.packages.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; @@ -110,9 +142,17 @@ view "AN" { view "AS" { match-clients { AS; }; - zone "security.geo.debian.org" { + zone "archive.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.AS"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; @@ -120,23 +160,31 @@ view "AS" { zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "ftp.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.AS"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "snapshot.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.geo.debian.org" { + zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; @@ -144,7 +192,7 @@ view "AS" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; @@ -152,7 +200,7 @@ view "AS" { zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.packages.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; @@ -162,9 +210,17 @@ view "AS" { view "EU" { match-clients { EU; }; - zone "security.geo.debian.org" { + zone "archive.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.archive.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 { }; @@ -172,23 +228,31 @@ view "EU" { zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "ftp.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.geo.debian.org" { + zone "snapshot.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.EU"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; @@ -196,7 +260,7 @@ view "EU" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; @@ -204,7 +268,7 @@ view "EU" { zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.packages.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; @@ -214,9 +278,17 @@ view "EU" { view "NA" { match-clients { NA; }; - zone "security.geo.debian.org" { + zone "archive.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.NA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -224,23 +296,31 @@ view "NA" { zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "ftp.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.NA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "snapshot.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.geo.debian.org" { + zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -248,7 +328,7 @@ view "NA" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -256,7 +336,7 @@ view "NA" { zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.packages.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -266,9 +346,17 @@ view "NA" { view "OC" { match-clients { OC; }; - zone "security.geo.debian.org" { + zone "archive.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.OC"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; @@ -276,23 +364,31 @@ view "OC" { zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "ftp.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org.OC"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "snapshot.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.geo.debian.org" { + zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; @@ -300,7 +396,7 @@ view "OC" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; @@ -308,7 +404,7 @@ view "OC" { zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.packages.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; @@ -318,9 +414,17 @@ view "OC" { view "SA" { match-clients { SA; }; - zone "security.geo.debian.org" { + zone "archive.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org.SA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.SA"; notify no; allow-query { any; }; allow-transfer { }; @@ -328,7 +432,23 @@ view "SA" { 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 "ftp.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.ftp.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 { }; @@ -336,15 +456,75 @@ view "SA" { zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.SA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.SA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "packages.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.packages.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 "www.geo.debian.org" { + zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.volatile.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 "ftp.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.ftp.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 "bugs.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.undef"; notify no; allow-query { any; }; allow-transfer { }; @@ -352,7 +532,7 @@ 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.undef"; notify no; allow-query { any; }; allow-transfer { }; @@ -360,7 +540,7 @@ 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 { }; @@ -370,9 +550,17 @@ view "SA" { view "default" { match-clients { any; }; - zone "security.geo.debian.org" { + zone "archive.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.archive.debian.org"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org"; notify no; allow-query { any; }; allow-transfer { }; @@ -380,23 +568,31 @@ view "default" { zone "security.debian.org" { type master; - file "/etc/bind/geodns/db.security.debian.org"; + file "/etc/bind/geodns/zonefiles/db.security.debian.org"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "bugs.debian.org" { + zone "ftp.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.ftp.debian.org"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "snapshot.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org"; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org"; notify no; allow-query { any; }; allow-transfer { }; }; - zone "www.geo.debian.org" { + zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org"; notify no; allow-query { any; }; allow-transfer { }; @@ -404,7 +600,7 @@ view "default" { zone "www.debian.org" { type master; - file "/etc/bind/geodns/db.www.debian.org"; + file "/etc/bind/geodns/zonefiles/db.www.debian.org"; notify no; allow-query { any; }; allow-transfer { }; @@ -412,7 +608,7 @@ view "default" { zone "packages.debian.org" { type master; - file "/etc/bind/geodns/db.packages.debian.org"; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org"; notify no; allow-query { any; }; allow-transfer { };