chiark / gitweb /
Makefile: Prettify declaraions of other zones.
[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))
04db9729 88 (anon (dmz :a anon.dmz))
ff6c53ad
MW
89 (gate (dmz :a gate.dmz))
90 (nat (dmz :a nat.dmz))
ec4898f9 91
6ef39f28 92 ;; Wireless gateway.
ff6c53ad 93 (wireless :net wireless)
d8536712 94 (evolution (safe :a evolution.safe))
9c43df2a 95 (evolution :alias evo)
ec4898f9 96
4c25329e 97 ;; Colocated services.
1feff8aa
MW
98 (irc (colo :svc jazz.colo)
99 (jump :svc jazz.jump))
d13943aa
MW
100 ((git www) (colo :svc stratocaster.colo)
101 (jump :svc stratocaster.jump))
102 :svc #+view/inside stratocaster.colo
103 #-view/inside stratocaster.jump
93a55d4d 104 (cabal :svc stratocaster.colo)
4c25329e 105
6ef39f28 106 ;; Local services.
375f178b
MW
107 (rawk (unsafe :svc artist.unsafe)
108 (dmz :svc artist.dmz))
c4e3b1d5
MW
109 (pifi (vpn :svc orange.vpn)
110 (dmz :svc artist.dmz))
d13943aa 111 ((ftp rsync wiki bugs mail db i2p vox) :svc vampire)
ec4898f9 112
6ef39f28 113 ;; Internal services.
345c0f69 114 #+view/inside ((news lpr) :svc vampire.unsafe)
ec4898f9 115
04db9729
MW
116 ;; Anonymity services.
117 (tor :svc #+view/inside vampire.unsafe
118 #-view/inside anon.dmz)
119
85a3496c 120 ;; Fancy connectivity.
17c95de9 121 (iodine (jump :a jazz.jump))
85a3496c 122
38c2de7c
MW
123 ;; Colocated hosts.
124 (colo :net colo)
125 (jump :net jump)
c46019df 126 (fender (colo :a fender.colo)
38c2de7c 127 (jump :a fender.jump))
c46019df 128 (precision (colo :a precision.colo)
38c2de7c 129 (jump :a precision.jump))
c46019df 130 (telecaster (colo :a telecaster.colo)
38c2de7c
MW
131 (jump :a telecaster.jump))
132 (telecaster :alias tele)
c46019df 133 (stratocaster (colo :a stratocaster.colo)
38c2de7c
MW
134 (jump :a stratocaster.jump))
135 (stratocaster :alias strat)
c46019df 136 (jazz (colo :a jazz.colo)
17c95de9
MW
137 (jump :a jazz.jump)
138 (iodine :a jazz.iodine))
38c2de7c 139
a20ec58c
MW
140 ;; Nicko's server.
141 (richmond (jump :a richmond.jump))
142
6ef39f28 143 ;; Wired ethernet.
04d65182
MW
144 (unsafe :net unsafe)
145 (safe :net safe)
146 (untrusted :net untrusted)
ff6c53ad
MW
147 (vampire (unsafe :a vampire.unsafe)
148 (dmz :a vampire.dmz)
d8536712 149 (safe :a vampire.safe)
17c95de9 150 (untrusted :a vampire.untrusted))
ff6c53ad
MW
151 (ibanez (unsafe :a ibanez.unsafe)
152 (dmz :a ibanez.dmz))
153 (radius (unsafe :a radius.unsafe)
154 (dmz :a radius.dmz)
d8536712 155 (safe :a radius.safe)
938f6c79 156 (untrusted :a radius.untrusted))
ff6c53ad
MW
157 (roadstar (unsafe :a roadstar.unsafe)
158 (dmz :a roadstar.dmz))
159 (jem (unsafe :a jem.unsafe)
160 (dmz :a jem.dmz))
161 (artist (unsafe :a artist.unsafe)
162 (dmz :a artist.dmz))
ec4898f9 163
ff6c53ad 164 ;; DHCP hosts.
4b5e05ad
MW
165 (gibson :cname gibson.dhcp)
166 (lespaul :cname lespaul.dhcp)
167 (firebird :cname firebird.dhcp)
aa4d55b1
MW
168 (marauder :cname marauder.dhcp)
169 (invader :cname invader.dhcp)
ec4898f9 170
6ef39f28 171 ;; Virtual network.
374be896
MW
172 (vpn :net vpn)
173 (crybaby (vpn :a crybaby.vpn))
174 (terror (vpn :a terror.vpn))
2ed695e4
MW
175 (orange (vpn :a orange.vpn))
176 (mango (vpn :a mango.vpn))
fc0ce2ed 177 (iodine :net iodine)
ec4898f9 178
6ef39f28 179 ;; ITS.
b1d5c6c2 180 (its :net its)
ff6c53ad
MW
181 (gw (its :a gw.its))
182 (mz (its :a mz.its))
ec4898f9 183
c2118713
MW
184 ;; Strange things.
185 (blackhole (jump :a blackhole.jump))
186
6ef39f28 187 ;; Delegations.
f0209b9c
MW
188 (dhcp :ns ((radius.ns.dhcp :ip radius)
189 (precision.ns.dhcp :ip precision)
190 (vampire.ns.dhcp :ip vampire)))
0262908f 191 (dnserr :ns ((radius.ns.dnserr :ip radius.dmz)
f0209b9c 192 (precision.ns.dnserr :ip precision.jump)
0262908f 193 (vampire.ns.dnserr :ip vampire.dmz)))
17c95de9 194 (io :ns ((ns.io :ip jazz.jump))))
b1d5c6c2
MW
195
196;;;--------------------------------------------------------------------------
197;;; Other subsidiary zones.
e80b4c2d
MW
198
199(defrevzone trusted
ff6c53ad 200 :ns ((radius.ns :ip radius)
f0209b9c 201 (precision.ns :ip precision)
ff6c53ad 202 (vampire.ns :ip vampire))
b59ce50d
MW
203 :reverse unsafe
204 :reverse vpn
205 :reverse colo
206 :reverse its
345c0f69 207 :reverse any
f0209b9c
MW
208 (dhcp :ns ((radius.ns.dhcp :ip radius)
209 (precision.ns.dhcp :ip precision)
210 (vampire.ns.dhcp :ip vampire)))
04d65182
MW
211 :cidr-delegation
212 (trusted ((dhcp safe) 199.29.172.dhcp.199.29.172.in-addr.arpa)))
b3f75214 213
ff6c53ad
MW
214(defrevzone dmz
215 :ns ((radius.ns :ip radius)
f0209b9c 216 (precision.ns :ip precision)
ff6c53ad
MW
217 (vampire.ns :ip vampire))
218 :reverse dmz)
92e99247 219
38c2de7c
MW
220(defrevzone jump
221 :ns ((radius.ns :ip radius)
f0209b9c 222 (precision.ns :ip precision)
38c2de7c
MW
223 (vampire.ns :ip vampire))
224 :reverse jump)
225
995d75b4 226(defzone io.distorted.org.uk
17c95de9 227 :ns ((ns :ip jazz.jump))
995d75b4
MW
228 (about :txt "Fake zone used for IP-over-DNS tunnelling."))
229
b1d5c6c2 230;;;----- That's all, folks --------------------------------------------------