X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnamed%2Ffiles%2Fcommon%2Fnamed.conf.geo;h=6a682fd9f158ca4fbca8309ca94fef33046c433a;hb=50a15c455bf56bd996d6580eb7d9849b0ab70194;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..6a682fd9f 100644 --- a/modules/named/files/common/named.conf.geo +++ b/modules/named/files/common/named.conf.geo @@ -8,7 +8,7 @@ view "AF" { zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; @@ -16,7 +16,7 @@ view "AF" { zone "security.geo.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 { }; @@ -24,7 +24,7 @@ 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 { }; @@ -32,7 +32,15 @@ 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 "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; @@ -40,7 +48,7 @@ view "AF" { zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.AF"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.AF"; notify no; allow-query { any; }; allow-transfer { }; @@ -48,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 { }; @@ -56,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 { }; @@ -68,7 +76,7 @@ view "AN" { zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; @@ -76,7 +84,7 @@ view "AN" { zone "security.geo.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 { }; @@ -84,7 +92,7 @@ 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 { }; @@ -92,7 +100,15 @@ 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 "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; @@ -100,7 +116,7 @@ view "AN" { zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.AN"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.AN"; notify no; allow-query { any; }; allow-transfer { }; @@ -108,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 { }; @@ -116,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 { }; @@ -128,7 +144,7 @@ view "AS" { zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; @@ -136,7 +152,7 @@ view "AS" { zone "security.geo.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 { }; @@ -144,7 +160,7 @@ 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 { }; @@ -152,7 +168,15 @@ 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 "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; @@ -160,7 +184,7 @@ view "AS" { zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.AS"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.AS"; notify no; allow-query { any; }; allow-transfer { }; @@ -168,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 { }; @@ -176,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 { }; @@ -188,7 +212,7 @@ view "EU" { zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; @@ -196,7 +220,7 @@ view "EU" { zone "security.geo.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 { }; @@ -204,7 +228,7 @@ 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 { }; @@ -212,7 +236,15 @@ 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 "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; @@ -220,7 +252,7 @@ view "EU" { zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.EU"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.EU"; notify no; allow-query { any; }; allow-transfer { }; @@ -228,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 { }; @@ -236,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 { }; @@ -248,7 +280,7 @@ view "NA" { zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -256,7 +288,7 @@ view "NA" { zone "security.geo.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 { }; @@ -264,7 +296,7 @@ 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 { }; @@ -272,7 +304,15 @@ 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 "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -280,7 +320,7 @@ view "NA" { zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.NA"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.NA"; notify no; allow-query { any; }; allow-transfer { }; @@ -288,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 { }; @@ -296,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 { }; @@ -308,7 +348,7 @@ view "OC" { zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; @@ -316,7 +356,7 @@ view "OC" { zone "security.geo.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 { }; @@ -324,7 +364,7 @@ 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 { }; @@ -332,7 +372,15 @@ 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 "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; @@ -340,7 +388,7 @@ view "OC" { zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org.OC"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org.OC"; notify no; allow-query { any; }; allow-transfer { }; @@ -348,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 { }; @@ -356,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 { }; @@ -368,7 +416,7 @@ view "SA" { zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org.SA"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.SA"; notify no; allow-query { any; }; allow-transfer { }; @@ -376,7 +424,7 @@ view "SA" { zone "security.geo.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 { }; @@ -384,7 +432,7 @@ 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 { }; @@ -392,7 +440,15 @@ 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 "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org.SA"; notify no; allow-query { any; }; allow-transfer { }; @@ -400,7 +456,7 @@ 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 { }; @@ -408,7 +464,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.SA"; notify no; allow-query { any; }; allow-transfer { }; @@ -416,7 +472,75 @@ 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.SA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + +}; +view "undef" { + match-clients { undef; }; + + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org.undef"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "security.geo.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.security.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 { }; + }; + + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.www.debian.org.undef"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + + zone "packages.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.packages.debian.org.undef"; notify no; allow-query { any; }; allow-transfer { }; @@ -428,7 +552,7 @@ view "default" { zone "volatile.debian.org" { type master; - file "/etc/bind/geodns/db.volatile.debian.org"; + file "/etc/bind/geodns/zonefiles/db.volatile.debian.org"; notify no; allow-query { any; }; allow-transfer { }; @@ -436,7 +560,7 @@ view "default" { zone "security.geo.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 { }; @@ -444,7 +568,7 @@ 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 { }; @@ -452,7 +576,15 @@ 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 "snapshot.debian.org" { + type master; + file "/etc/bind/geodns/zonefiles/db.snapshot.debian.org"; notify no; allow-query { any; }; allow-transfer { }; @@ -460,7 +592,7 @@ view "default" { zone "bugs.debian.org" { type master; - file "/etc/bind/geodns/db.bugs.debian.org"; + file "/etc/bind/geodns/zonefiles/db.bugs.debian.org"; notify no; allow-query { any; }; allow-transfer { }; @@ -468,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 { }; @@ -476,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 { };