A slightly better solution
[mirror/dsa-puppet.git] / modules / geodns / files / common / named.conf.geo
1 //
2 // THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 // USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 //
5
6 view "Africa" {
7         match-clients {
8                 Africa;
9         };
10         zone "security.debian.org" {
11                 type master;
12                 file "/etc/bind/db.security.debian.org.AF";
13                 notify no;
14         };
15         zone "security.geo.debian.org" {
16                 type master;
17                 file "/etc/bind/db.security.debian.org.AF";
18                 notify no;
19         };
20 };
21
22 view "Asia" {
23         match-clients {
24                 Asia;
25         };
26         zone "security.debian.org" {
27                 type master;
28                 file "/etc/bind/db.security.debian.org.AS";
29                 notify no;
30         };
31         zone "security.geo.debian.org" {
32                 type master;
33                 file "/etc/bind/db.security.debian.org.AS";
34                 notify no;
35         };
36 };
37
38 view "Europe" {
39         match-clients { 
40                 Europe; 
41         };
42         zone "security.debian.org" {
43                 type master;
44                 file "/etc/bind/db.security.debian.org.EU";
45                 notify no;
46         };
47         zone "security.geo.debian.org" {
48                 type master;
49                 file "/etc/bind/db.security.debian.org.EU";
50                 notify no;
51         };
52 };
53
54 view "NorthAmerica" {
55         match-clients {
56                 NorthAmerica;
57         };
58         zone "security.debian.org" {
59                 type master;
60                 file "/etc/bind/db.security.debian.org.NA";
61                 notify no;
62         };
63         zone "security.geo.debian.org" {
64                 type master;
65                 file "/etc/bind/db.security.debian.org.NA";
66                 notify no;
67         };
68 };
69 view "SouthAmerica" {
70         match-clients {
71                 SouthAmerica;
72         };
73         zone "security.debian.org" {
74                 type master;
75                 file "/etc/bind/db.security.debian.org.SA";
76                 notify no;
77         };
78         zone "security.geo.debian.org" {
79                 type master;
80                 file "/etc/bind/db.security.debian.org.SA";
81                 notify no;
82         };
83 };
84 view "Oceania" {
85         match-clients {
86                 Oceania;
87         };
88         zone "security.debian.org" {
89                 type master;
90                 file "/etc/bind/db.security.debian.org.OC";
91                 notify no;
92         };
93         zone "security.geo.debian.org" {
94                 type master;
95                 file "/etc/bind/db.security.debian.org.OC";
96                 notify no;
97         };
98 };
99 view "Antarctica" {
100         match-clients {
101                 Antarctica;
102         };
103         zone "security.debian.org" {
104                 type master;
105                 file "/etc/bind/db.security.debian.org.AN";
106                 notify no;
107         };
108         zone "security.geo.debian.org" {
109                 type master;
110                 file "/etc/bind/db.security.debian.org.AN";
111                 notify no;
112         };
113 };
114 view "other" {
115         match-clients { any; };
116         zone "security.debian.org" {
117                 type master;
118                 file "/etc/bind/db.security.debian.org";
119                 notify no;
120         };
121         zone "security.geo.debian.org" {
122                 type master;
123                 file "/etc/bind/db.security.debian.org";
124                 notify no;
125         };
126 };