chiark / gitweb /
hosts.lisp, distorted.lisp: Move anonymity services to jazz.
[zones] / distorted.lisp
CommitLineData
e80b4c2d
MW
1;;; Zone file for distorted.org.uk
2
b4d4c18b 3(load "hosts.lisp" :verbose nil)
e80b4c2d 4
b1d5c6c2 5;;;--------------------------------------------------------------------------
b1d5c6c2 6;;; Other definitions.
e80b4c2d
MW
7
8(setf *default-zone-admin* "hostmaster@distorted.org.uk")
2bc217e8 9
ff6c53ad 10(setf *default-zone-source* 'radius.distorted.org.uk.)
e80b4c2d 11
b1d5c6c2
MW
12;;;--------------------------------------------------------------------------
13;;; Main zone definition.
14
e80b4c2d 15(defzone distorted.org.uk
ec4898f9 16
6ef39f28 17 ;; Nameservers.
ff6c53ad 18 :ns #+view/inside ((radius.ns :ip radius)
f0209b9c 19 (precision.ns :ip precision)
ff6c53ad
MW
20 (vampire.ns :ip vampire))
21 #-view/inside ((radius.ns :ip radius)
f0209b9c 22 (precision.ns :ip precision)
ff6c53ad 23 (mythic-beasts-1.ns :ip mythic-ns1)
4a487d58 24 (mythic-beasts-2.ns :ip mythic-ns2)
ff6c53ad 25 (chiark.ns :ip chiark.greenend.org.uk))
ec4898f9 26
6ef39f28 27 ;; Mail servers.
96c2a692
MW
28 ((@ mail lists bugs cryptomail)
29 :mx mail
30 :srv ((:smtp mail)))
ec4898f9 31
06f1bb3f
MW
32 ;; Anycast services.
33 (dns0 (any :a dns0.any)
34 (jump :svc precision.jump)
35 (dmz :svc radius.dmz)
36 (unsafe :svc radius.unsafe)
37 (colo :svc precision.colo))
38 (dns1 (any :a dns1.any)
39 (jump :svc telecaster.jump)
40 (dmz :svc vampire.dmz)
41 (unsafe :svc vampire.unsafe)
42 (colo :svc telecaster.colo))
cfecfa5c
MW
43 (dns :cname dns0)
44
06f1bb3f
MW
45 (ntp0 (any :a ntp0.any)
46 (jump :svc fender.jump)
47 (dmz :svc ibanez.dmz)
48 (unsafe :svc ibanez.unsafe)
49 (colo :svc fender.colo))
50 (ntp1 (any :a ntp1.any)
51 (dmz :svc vampire.dmz)
52 (unsafe :svc vampire.unsafe))
cfecfa5c
MW
53 (ntp :cname ntp0)
54
06f1bb3f
MW
55 (www-cache (any :a www-cache.any)
56 (jump :svc telecaster.jump)
60b1b6a0
MW
57 (dmz :svc roadstar.dmz)
58 (unsafe :svc roadstar.unsafe)
06f1bb3f 59 (colo :svc telecaster.colo))
345c0f69
MW
60 (wpad :cname www-cache)
61
cfecfa5c
MW
62 (_kerberos :txt "DISTORTED.ORG.UK")
63 (krb0 (any :a krb0.any)
64 (jump :svc precision.jump)
65 (dmz :svc radius.dmz)
66 (unsafe :svc radius.unsafe)
67 (colo :svc precision.colo))
68 (krb1 (any :a krb1.any)
69 (dmz :svc vampire.dmz)
70 (unsafe :svc vampire.unsafe))
71 (krb-master (unsafe :svc radius.unsafe)
72 (dmz :svc radius.dmz))
73 :srv (((:kerberos :protocol :udp)
74 krb0
75 (krb1 :prio 100))
76 ((:kerberos-master :protocol :udp :port 88) krb-master)
77 (:kerberos-adm krb-master)
78 ((:kpasswd :protocol :udp) krb-master))
79 (krb :cname krb0)
80
6ef39f28 81 ;; Other services.
96c2a692
MW
82 :srv ((:http www)
83 (:ftp ftp))
ec4898f9 84
92e99247 85 ;; Entry is via little router box.
ff6c53ad
MW
86 (dmz :net dmz)
87 (guvnor (inside :svc gate.dmz) (dmz :a guvnor.dmz))
88 (gate (dmz :a gate.dmz))
89 (nat (dmz :a nat.dmz))
ec4898f9 90
6ef39f28 91 ;; Wireless gateway.
ff6c53ad 92 (wireless :net wireless)
d8536712 93 (evolution (safe :a evolution.safe))
9c43df2a 94 (evolution :alias evo)
ec4898f9 95
4c25329e 96 ;; Colocated services.
a68f6a0d
MW
97 ((irc vox) (colo :svc jazz.colo)
98 (jump :svc jazz.jump))
d13943aa
MW
99 ((git www) (colo :svc stratocaster.colo)
100 (jump :svc stratocaster.jump))
101 :svc #+view/inside stratocaster.colo
102 #-view/inside stratocaster.jump
93a55d4d 103 (cabal :svc stratocaster.colo)
4c25329e 104
6ef39f28 105 ;; Local services.
375f178b
MW
106 (rawk (unsafe :svc artist.unsafe)
107 (dmz :svc artist.dmz))
c4e3b1d5
MW
108 (pifi (vpn :svc orange.vpn)
109 (dmz :svc artist.dmz))
a68f6a0d 110 ((ftp rsync wiki bugs mail db i2p) :svc vampire)
ec4898f9 111
6ef39f28 112 ;; Internal services.
345c0f69 113 #+view/inside ((news lpr) :svc vampire.unsafe)
ec4898f9 114
04db9729 115 ;; Anonymity services.
0865ffd5
MW
116 (anon (colo :svc jazz.colo)
117 (unsafe :svc vampire.unsafe)
118 (jump :a anon.jump)
119 (dmz :a anon.dmz))
04db9729 120
85a3496c 121 ;; Fancy connectivity.
17c95de9 122 (iodine (jump :a jazz.jump))
85a3496c 123
38c2de7c
MW
124 ;; Colocated hosts.
125 (colo :net colo)
126 (jump :net jump)
c46019df 127 (fender (colo :a fender.colo)
38c2de7c 128 (jump :a fender.jump))
c46019df 129 (precision (colo :a precision.colo)
38c2de7c 130 (jump :a precision.jump))
c46019df 131 (telecaster (colo :a telecaster.colo)
38c2de7c
MW
132 (jump :a telecaster.jump))
133 (telecaster :alias tele)
c46019df 134 (stratocaster (colo :a stratocaster.colo)
38c2de7c
MW
135 (jump :a stratocaster.jump))
136 (stratocaster :alias strat)
c46019df 137 (jazz (colo :a jazz.colo)
17c95de9
MW
138 (jump :a jazz.jump)
139 (iodine :a jazz.iodine))
38c2de7c 140
a20ec58c
MW
141 ;; Nicko's server.
142 (richmond (jump :a richmond.jump))
143
6ef39f28 144 ;; Wired ethernet.
04d65182
MW
145 (unsafe :net unsafe)
146 (safe :net safe)
147 (untrusted :net untrusted)
ff6c53ad
MW
148 (vampire (unsafe :a vampire.unsafe)
149 (dmz :a vampire.dmz)
d8536712 150 (safe :a vampire.safe)
17c95de9 151 (untrusted :a vampire.untrusted))
ff6c53ad
MW
152 (ibanez (unsafe :a ibanez.unsafe)
153 (dmz :a ibanez.dmz))
154 (radius (unsafe :a radius.unsafe)
155 (dmz :a radius.dmz)
d8536712 156 (safe :a radius.safe)
938f6c79 157 (untrusted :a radius.untrusted))
ff6c53ad
MW
158 (roadstar (unsafe :a roadstar.unsafe)
159 (dmz :a roadstar.dmz))
160 (jem (unsafe :a jem.unsafe)
161 (dmz :a jem.dmz))
162 (artist (unsafe :a artist.unsafe)
0302997e
MW
163 (dmz :a artist.dmz)
164 (untrusted :a artist.untrusted))
ec4898f9 165
ff6c53ad 166 ;; DHCP hosts.
4b5e05ad
MW
167 (gibson :cname gibson.dhcp)
168 (lespaul :cname lespaul.dhcp)
169 (firebird :cname firebird.dhcp)
aa4d55b1
MW
170 (marauder :cname marauder.dhcp)
171 (invader :cname invader.dhcp)
ec4898f9 172
6ef39f28 173 ;; Virtual network.
374be896
MW
174 (vpn :net vpn)
175 (crybaby (vpn :a crybaby.vpn))
176 (terror (vpn :a terror.vpn))
2ed695e4 177 (orange (vpn :a orange.vpn))
fc0ce2ed 178 (iodine :net iodine)
ec4898f9 179
6ef39f28 180 ;; ITS.
b1d5c6c2 181 (its :net its)
ff6c53ad
MW
182 (gw (its :a gw.its))
183 (mz (its :a mz.its))
ec4898f9 184
c2118713
MW
185 ;; Strange things.
186 (blackhole (jump :a blackhole.jump))
187
6ef39f28 188 ;; Delegations.
f0209b9c
MW
189 (dhcp :ns ((radius.ns.dhcp :ip radius)
190 (precision.ns.dhcp :ip precision)
191 (vampire.ns.dhcp :ip vampire)))
49c5f8ff
MW
192 (dyn :ns ((radius.ns.dyn :ip radius)
193 (precision.ns.dyn :ip precision)
194 (vampire.ns.dyn :ip vampire)))
0262908f 195 (dnserr :ns ((radius.ns.dnserr :ip radius.dmz)
f0209b9c 196 (precision.ns.dnserr :ip precision.jump)
0262908f 197 (vampire.ns.dnserr :ip vampire.dmz)))
17c95de9 198 (io :ns ((ns.io :ip jazz.jump))))
b1d5c6c2
MW
199
200;;;--------------------------------------------------------------------------
201;;; Other subsidiary zones.
e80b4c2d
MW
202
203(defrevzone trusted
ff6c53ad 204 :ns ((radius.ns :ip radius)
f0209b9c 205 (precision.ns :ip precision)
ff6c53ad 206 (vampire.ns :ip vampire))
b59ce50d
MW
207 :reverse unsafe
208 :reverse vpn
209 :reverse colo
210 :reverse its
345c0f69 211 :reverse any
f0209b9c
MW
212 (dhcp :ns ((radius.ns.dhcp :ip radius)
213 (precision.ns.dhcp :ip precision)
214 (vampire.ns.dhcp :ip vampire)))
04d65182
MW
215 :cidr-delegation
216 (trusted ((dhcp safe) 199.29.172.dhcp.199.29.172.in-addr.arpa)))
b3f75214 217
ff6c53ad
MW
218(defrevzone dmz
219 :ns ((radius.ns :ip radius)
f0209b9c 220 (precision.ns :ip precision)
ff6c53ad
MW
221 (vampire.ns :ip vampire))
222 :reverse dmz)
92e99247 223
38c2de7c
MW
224(defrevzone jump
225 :ns ((radius.ns :ip radius)
f0209b9c 226 (precision.ns :ip precision)
38c2de7c
MW
227 (vampire.ns :ip vampire))
228 :reverse jump)
229
995d75b4 230(defzone io.distorted.org.uk
17c95de9 231 :ns ((ns :ip jazz.jump))
995d75b4
MW
232 (about :txt "Fake zone used for IP-over-DNS tunnelling."))
233
b1d5c6c2 234;;;----- That's all, folks --------------------------------------------------