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