X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fgeodns%2Ffiles%2Fcommon%2Fnamed.conf.geo;h=733e06b8cef518a2dda1f3572bed361b43d1641f;hb=8d833fdfe24088e6d7ad4ce808a953e8a02804d1;hp=bc088a3a2e33a35fb5b40d8e7a38dcbfc828e217;hpb=e606ae2a7f7259e4c6e42aa88fbc1cd7216036ca;p=mirror%2Fdsa-puppet.git diff --git a/modules/geodns/files/common/named.conf.geo b/modules/geodns/files/common/named.conf.geo index bc088a3a2..733e06b8c 100644 --- a/modules/geodns/files/common/named.conf.geo +++ b/modules/geodns/files/common/named.conf.geo @@ -1,134 +1,208 @@ -// -// THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. -// USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git -// - -view 'Africa' { - match-clients { - Africa; +view "AF" { + match-clients { + AF; + }; + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.AF"; + notify no; + }; + zone "www.geo.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.AF"; + notify no; }; - recursion no; zone "security.debian.org" { type master; - file "/etc/bind/db.security.debian.org.AF"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.AF"; + notify no; }; zone "security.geo.debian.org" { type master; - file "/etc/bind/db.security.debian.org.AF"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.AF"; + notify no; }; }; -view 'Asia' { - match-clients { - Asia; +view "AN" { + match-clients { + AN; + }; + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.AN"; + notify no; + }; + zone "www.geo.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.AN"; + notify no; }; - recursion no; zone "security.debian.org" { type master; - file "/etc/bind/db.security.debian.org.AS"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.AN"; + notify no; }; zone "security.geo.debian.org" { type master; - file "/etc/bind/db.security.debian.org.AS"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.AN"; + notify no; }; }; -view 'Europe' { - match-clients { - Europe; - }; - recursion no; +view "AS" { + match-clients { + AS; + }; + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.AS"; + notify no; + }; + zone "www.geo.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.AS"; + notify no; + }; zone "security.debian.org" { type master; - file "/etc/bind/db.security.debian.org.EU"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.AS"; + notify no; }; zone "security.geo.debian.org" { type master; - file "/etc/bind/db.security.debian.org.EU"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.AS"; + notify no; }; }; -view 'NorthAmerica' { - match-clients { - NorthAmerica; +view "EU" { + match-clients { + EU; + }; + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.EU"; + notify no; + }; + zone "www.geo.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.EU"; + notify no; }; - recursion no; zone "security.debian.org" { type master; - file "/etc/bind/db.security.debian.org.NA"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.EU"; + notify no; }; zone "security.geo.debian.org" { type master; - file "/etc/bind/db.security.debian.org.NA"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.EU"; + notify no; }; }; -view 'SouthAmerica' { - match-clients { - SouthAmerica; + +view "NA" { + match-clients { + NA; + }; + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.NA"; + notify no; + }; + zone "www.geo.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.NA"; + notify no; }; - recursion no; zone "security.debian.org" { type master; - file "/etc/bind/db.security.debian.org.SA"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.NA"; + notify no; }; zone "security.geo.debian.org" { type master; - file "/etc/bind/db.security.debian.org.SA"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.NA"; + notify no; }; }; -view 'Oceania' { - match-clients { - Oceania; + +view "OC" { + match-clients { + OC; + }; + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.OC"; + notify no; + }; + zone "www.geo.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.OC"; + notify no; }; - recursion no; zone "security.debian.org" { type master; - file "/etc/bind/db.security.debian.org.OC"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.OC"; + notify no; }; zone "security.geo.debian.org" { type master; - file "/etc/bind/db.security.debian.org.OC"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.OC"; + notify no; }; }; -view 'Antarctica' { - match-clients { - Antarctica; + +view "SA" { + match-clients { + SA; + }; + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.SA"; + notify no; + }; + zone "www.geo.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org.SA"; + notify no; }; - recursion no; zone "security.debian.org" { type master; - file "/etc/bind/db.security.debian.org.AN"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.SA"; + notify no; }; zone "security.geo.debian.org" { type master; - file "/etc/bind/db.security.debian.org.AN"; - notify no; + file "/etc/bind/geodns/db.security.debian.org.SA"; + notify no; }; }; -view "other" { - match-clients { any; }; - recursion no; + +view "default" { + match-clients { + any; + }; + zone "www.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org"; + notify no; + }; + zone "www.geo.debian.org" { + type master; + file "/etc/bind/geodns/db.www.debian.org"; + notify no; + }; zone "security.debian.org" { type master; - file "/etc/bind/db.security.debian.org"; - notify no; + file "/etc/bind/geodns/db.security.debian.org"; + notify no; }; zone "security.geo.debian.org" { type master; - file "/etc/bind/db.security.debian.org"; - notify no; + file "/etc/bind/geodns/db.security.debian.org"; + notify no; }; }; +