chiark / gitweb /
distorted.lisp: Use `:multi' because `:cidr-delegation' has gone away.
[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.
39567ec1 28 ((@ mail)
96c2a692
MW
29 :mx mail
30 :srv ((:smtp mail)))
39567ec1
MW
31 ((lists bugs cryptomail)
32 :ttl 300
33 :mx mail
34 :srv ((:smtp old-mail)))
ec4898f9 35
69bbb181 36 (stratocaster.20140403._domainkey
8d261a89
MW
37 :dkim ("stratocaster-20140403"
38 :v "DKIM1" :k "rsa" :h "sha256" :s "email"))
69bbb181 39
06f1bb3f
MW
40 ;; Anycast services.
41 (dns0 (any :a dns0.any)
42 (jump :svc precision.jump)
43 (dmz :svc radius.dmz)
44 (unsafe :svc radius.unsafe)
45 (colo :svc precision.colo))
46 (dns1 (any :a dns1.any)
47 (jump :svc telecaster.jump)
48 (dmz :svc vampire.dmz)
49 (unsafe :svc vampire.unsafe)
50 (colo :svc telecaster.colo))
cfecfa5c
MW
51 (dns :cname dns0)
52
06f1bb3f
MW
53 (ntp0 (any :a ntp0.any)
54 (jump :svc fender.jump)
55 (dmz :svc ibanez.dmz)
56 (unsafe :svc ibanez.unsafe)
57 (colo :svc fender.colo))
58 (ntp1 (any :a ntp1.any)
59 (dmz :svc vampire.dmz)
60 (unsafe :svc vampire.unsafe))
cfecfa5c
MW
61 (ntp :cname ntp0)
62
06f1bb3f
MW
63 (www-cache (any :a www-cache.any)
64 (jump :svc telecaster.jump)
60b1b6a0
MW
65 (dmz :svc roadstar.dmz)
66 (unsafe :svc roadstar.unsafe)
06f1bb3f 67 (colo :svc telecaster.colo))
345c0f69
MW
68 (wpad :cname www-cache)
69
cfecfa5c
MW
70 (_kerberos :txt "DISTORTED.ORG.UK")
71 (krb0 (any :a krb0.any)
72 (jump :svc precision.jump)
73 (dmz :svc radius.dmz)
74 (unsafe :svc radius.unsafe)
75 (colo :svc precision.colo))
76 (krb1 (any :a krb1.any)
77 (dmz :svc vampire.dmz)
78 (unsafe :svc vampire.unsafe))
79 (krb-master (unsafe :svc radius.unsafe)
80 (dmz :svc radius.dmz))
81 :srv (((:kerberos :protocol :udp)
82 krb0
83 (krb1 :prio 100))
84 ((:kerberos-master :protocol :udp :port 88) krb-master)
85 (:kerberos-adm krb-master)
86 ((:kpasswd :protocol :udp) krb-master))
87 (krb :cname krb0)
88
6ef39f28 89 ;; Other services.
96c2a692
MW
90 :srv ((:http www)
91 (:ftp ftp))
ec4898f9 92
92e99247 93 ;; Entry is via little router box.
ff6c53ad 94 (dmz :net dmz)
0fa108c4 95 (guvnor (dmz :a guvnor.dmz))
ff6c53ad
MW
96 (gate (dmz :a gate.dmz))
97 (nat (dmz :a nat.dmz))
ec4898f9 98
6ef39f28 99 ;; Wireless gateway.
ff6c53ad 100 (wireless :net wireless)
d8536712 101 (evolution (safe :a evolution.safe))
9c43df2a 102 (evolution :alias evo)
ec4898f9 103
4c25329e 104 ;; Colocated services.
8d261a89
MW
105 ((irc vox) (colo :svc jazz.colo :sshfp "jazz")
106 (jump :svc jazz.jump :sshfp "jazz"))
107 ((git www mail) (colo :svc stratocaster.colo :sshfp "stratocaster")
108 (jump :svc stratocaster.jump :sshfp "stratocaster"))
d13943aa
MW
109 :svc #+view/inside stratocaster.colo
110 #-view/inside stratocaster.jump
8d261a89
MW
111 (cabal :svc stratocaster.colo :sshfp "stratocaster")
112 ((db ftp) (colo :svc telecaster.colo :sshfp "telecaster")
113 (jump :svc telecaster.jump :sshfp "telecaster"))
4c25329e 114
6ef39f28 115 ;; Local services.
6c719992
MW
116 ((rawk pifi) (unsafe :svc artist.unsafe)
117 (dmz :svc artist.dmz))
8d261a89
MW
118 (mirror (dmz :svc roadstar.dmz :sshfp "roadstar")
119 (unsafe :svc roadstar.unsafe :sshfp "roadstar"))
120 ((wiki bugs old-mail i2p) :svc vampire :sshfp "vampire")
ec4898f9 121
6ef39f28 122 ;; Internal services.
8d261a89 123 #+view/inside ((news lpr) :svc vampire.unsafe :sshfp "vampire")
ec4898f9 124
04db9729 125 ;; Anonymity services.
0865ffd5 126 (anon (colo :svc jazz.colo)
f99b371f
MW
127 (unsafe :svc vampire.unsafe)
128 (jump :a anon.jump)
0865ffd5 129 (dmz :a anon.dmz))
04db9729 130
85a3496c 131 ;; Fancy connectivity.
17c95de9 132 (iodine (jump :a jazz.jump))
85a3496c 133
38c2de7c
MW
134 ;; Colocated hosts.
135 (colo :net colo)
136 (jump :net jump)
8d261a89
MW
137 (fender (colo :a fender.colo :sshfp "fender")
138 (jump :a fender.jump :sshfp "fender"))
139 (precision (colo :a precision.colo :sshfp "precision")
140 (jump :a precision.jump :sshfp "precision"))
141 (telecaster (colo :a telecaster.colo :sshfp "telecaster")
142 (jump :a telecaster.jump :sshfp "telecaster"))
38c2de7c 143 (telecaster :alias tele)
8d261a89
MW
144 (stratocaster (colo :a stratocaster.colo :sshfp "stratocaster")
145 (jump :a stratocaster.jump :sshfp "stratocaster"))
38c2de7c 146 (stratocaster :alias strat)
8d261a89
MW
147 (jazz (colo :a jazz.colo :sshfp "jazz")
148 (jump :a jazz.jump :sshfp "jazz")
149 (iodine :a jazz.iodine :sshfp "jazz"))
38c2de7c 150
4a372d1b
MW
151 ;; Media server (on loan to Good Technology HSTG).
152 (jaguar (jump :a jaguar.jump))
153
a20ec58c
MW
154 ;; Nicko's server.
155 (richmond (jump :a richmond.jump))
156
6ef39f28 157 ;; Wired ethernet.
04d65182
MW
158 (unsafe :net unsafe)
159 (safe :net safe)
160 (untrusted :net untrusted)
8d261a89
MW
161 (vampire (unsafe :a vampire.unsafe :sshfp "vampire")
162 (dmz :a vampire.dmz :sshfp "vampire")
163 (safe :a vampire.safe :sshfp "vampire")
164 (untrusted :a vampire.untrusted :sshfp "vampire"))
165 (ibanez (unsafe :a ibanez.unsafe :sshfp "ibanez")
166 (dmz :a ibanez.dmz :sshfp "ibanez"))
167 (radius (unsafe :a radius.unsafe :sshfp "radius")
168 (dmz :a radius.dmz :sshfp "radius")
169 (safe :a radius.safe :sshfp "radius")
170 (untrusted :a radius.untrusted :sshfp "radius"))
171 (roadstar (unsafe :a roadstar.unsafe :sshfp "roadstar")
172 (dmz :a roadstar.dmz :sshfp "roadstar"))
173 (jem (unsafe :a jem.unsafe :sshfp "jem")
174 (dmz :a jem.dmz :sshfp "jem"))
175 (artist (unsafe :a artist.unsafe :sshfp "artist")
176 (dmz :a artist.dmz :sshfp "artist")
177 (untrusted :a artist.untrusted :sshfp "artist"))
ec4898f9 178
ff6c53ad 179 ;; DHCP hosts.
4b5e05ad
MW
180 (gibson :cname gibson.dhcp)
181 (lespaul :cname lespaul.dhcp)
182 (firebird :cname firebird.dhcp)
aa4d55b1
MW
183 (marauder :cname marauder.dhcp)
184 (invader :cname invader.dhcp)
ec4898f9 185
6ef39f28 186 ;; Virtual network.
374be896 187 (vpn :net vpn)
8d261a89
MW
188 (crybaby (vpn :a crybaby.vpn :sshfp "crybaby"))
189 (terror (vpn :a terror.vpn :sshfp "terror"))
190 (orange (vpn :a orange.vpn :sshfp "orange"))
fc0ce2ed 191 (iodine :net iodine)
ec4898f9 192
6ef39f28 193 ;; ITS.
b1d5c6c2 194 (its :net its)
ff6c53ad
MW
195 (gw (its :a gw.its))
196 (mz (its :a mz.its))
ec4898f9 197
c2118713
MW
198 ;; Strange things.
199 (blackhole (jump :a blackhole.jump))
200
6ef39f28 201 ;; Delegations.
f0209b9c
MW
202 (dhcp :ns ((radius.ns.dhcp :ip radius)
203 (precision.ns.dhcp :ip precision)
204 (vampire.ns.dhcp :ip vampire)))
49c5f8ff
MW
205 (dyn :ns ((radius.ns.dyn :ip radius)
206 (precision.ns.dyn :ip precision)
207 (vampire.ns.dyn :ip vampire)))
0262908f 208 (dnserr :ns ((radius.ns.dnserr :ip radius.dmz)
f0209b9c 209 (precision.ns.dnserr :ip precision.jump)
0262908f 210 (vampire.ns.dnserr :ip vampire.dmz)))
17c95de9 211 (io :ns ((ns.io :ip jazz.jump))))
b1d5c6c2
MW
212
213;;;--------------------------------------------------------------------------
214;;; Other subsidiary zones.
e80b4c2d
MW
215
216(defrevzone trusted
ff6c53ad 217 :ns ((radius.ns :ip radius)
f0209b9c 218 (precision.ns :ip precision)
ff6c53ad 219 (vampire.ns :ip vampire))
b59ce50d
MW
220 :reverse unsafe
221 :reverse vpn
222 :reverse colo
223 :reverse its
345c0f69 224 :reverse any
f0209b9c
MW
225 (dhcp :ns ((radius.ns.dhcp :ip radius)
226 (precision.ns.dhcp :ip precision)
227 (vampire.ns.dhcp :ip vampire)))
3503589d 228 :multi (((dhcp safe) :family :ipv4 :suffix "199.29.172.dhcp") :cname *))
b3f75214 229
ff6c53ad
MW
230(defrevzone dmz
231 :ns ((radius.ns :ip radius)
f0209b9c 232 (precision.ns :ip precision)
ff6c53ad
MW
233 (vampire.ns :ip vampire))
234 :reverse dmz)
92e99247 235
38c2de7c
MW
236(defrevzone jump
237 :ns ((radius.ns :ip radius)
f0209b9c 238 (precision.ns :ip precision)
38c2de7c
MW
239 (vampire.ns :ip vampire))
240 :reverse jump)
241
995d75b4 242(defzone io.distorted.org.uk
17c95de9 243 :ns ((ns :ip jazz.jump))
995d75b4
MW
244 (about :txt "Fake zone used for IP-over-DNS tunnelling."))
245
b1d5c6c2 246;;;----- That's all, folks --------------------------------------------------