chiark / gitweb /
Makefile, distorted.lisp: Deploy anycast services.
[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
01961e83
MW
32 ;; Kerberos.
33 (_kerberos :txt "DISTORTED.ORG.UK")
34 :srv (((:kerberos :protocol :udp) krb)
35 ((:kerberos-master :protocol :udp :port 88) krb)
36 (:kerberos-adm krb)
37 ((:kpasswd :protocol :udp) krb))
38
06f1bb3f
MW
39 ;; Anycast services.
40 (dns0 (any :a dns0.any)
41 (jump :svc precision.jump)
42 (dmz :svc radius.dmz)
43 (unsafe :svc radius.unsafe)
44 (colo :svc precision.colo))
45 (dns1 (any :a dns1.any)
46 (jump :svc telecaster.jump)
47 (dmz :svc vampire.dmz)
48 (unsafe :svc vampire.unsafe)
49 (colo :svc telecaster.colo))
50 (ntp0 (any :a ntp0.any)
51 (jump :svc fender.jump)
52 (dmz :svc ibanez.dmz)
53 (unsafe :svc ibanez.unsafe)
54 (colo :svc fender.colo))
55 (ntp1 (any :a ntp1.any)
56 (dmz :svc vampire.dmz)
57 (unsafe :svc vampire.unsafe))
58 (www-cache (any :a www-cache.any)
59 (jump :svc telecaster.jump)
60 (dmz :svc vampire.dmz)
e40773af 61 (unsafe :svc vampire.unsafe)
06f1bb3f 62 (colo :svc telecaster.colo))
345c0f69
MW
63 (dns :cname dns0)
64 (ntp :cname ntp0)
65 (wpad :cname www-cache)
66
6ef39f28 67 ;; Other services.
96c2a692
MW
68 :srv ((:http www)
69 (:ftp ftp))
ec4898f9 70
92e99247 71 ;; Entry is via little router box.
ff6c53ad
MW
72 (dmz :net dmz)
73 (guvnor (inside :svc gate.dmz) (dmz :a guvnor.dmz))
04db9729 74 (anon (dmz :a anon.dmz))
ff6c53ad
MW
75 (gate (dmz :a gate.dmz))
76 (nat (dmz :a nat.dmz))
ec4898f9 77
6ef39f28 78 ;; Wireless gateway.
ff6c53ad 79 (wireless :net wireless)
d8536712 80 (evolution (safe :a evolution.safe))
9c43df2a 81 (evolution :alias evo)
ec4898f9 82
4c25329e
MW
83 ;; Colocated services.
84 (irc (colo :svc stratocaster.colo)
85 (jump :svc stratocaster.jump))
86
6ef39f28 87 ;; Local services.
ff6c53ad 88 :svc vampire
345c0f69 89 ((www krb ftp rsync wiki git bugs mail db i2p rawk vox)
ff6c53ad 90 :svc vampire)
ec4898f9 91
6ef39f28 92 ;; Internal services.
345c0f69 93 #+view/inside ((news lpr) :svc vampire.unsafe)
ec4898f9 94
04db9729
MW
95 ;; Anonymity services.
96 (tor :svc #+view/inside vampire.unsafe
97 #-view/inside anon.dmz)
98
85a3496c
MW
99 ;; Fancy connectivity.
100 (iodine (dmz :a iodine.dmz))
101
38c2de7c
MW
102 ;; Colocated hosts.
103 (colo :net colo)
104 (jump :net jump)
c46019df 105 (fender (colo :a fender.colo)
38c2de7c 106 (jump :a fender.jump))
c46019df 107 (precision (colo :a precision.colo)
38c2de7c 108 (jump :a precision.jump))
c46019df 109 (telecaster (colo :a telecaster.colo)
38c2de7c
MW
110 (jump :a telecaster.jump))
111 (telecaster :alias tele)
c46019df 112 (stratocaster (colo :a stratocaster.colo)
38c2de7c
MW
113 (jump :a stratocaster.jump))
114 (stratocaster :alias strat)
c46019df 115 (jazz (colo :a jazz.colo)
38c2de7c
MW
116 (jump :a jazz.jump))
117
a20ec58c
MW
118 ;; Nicko's server.
119 (richmond (jump :a richmond.jump))
120
6ef39f28 121 ;; Wired ethernet.
04d65182
MW
122 (unsafe :net unsafe)
123 (safe :net safe)
124 (untrusted :net untrusted)
ff6c53ad
MW
125 (vampire (unsafe :a vampire.unsafe)
126 (dmz :a vampire.dmz)
d8536712 127 (safe :a vampire.safe)
fc0ce2ed
MW
128 (untrusted :a vampire.untrusted)
129 (iodine :a vampire.iodine))
ff6c53ad
MW
130 (ibanez (unsafe :a ibanez.unsafe)
131 (dmz :a ibanez.dmz))
132 (radius (unsafe :a radius.unsafe)
133 (dmz :a radius.dmz)
d8536712 134 (safe :a radius.safe)
938f6c79 135 (untrusted :a radius.untrusted))
ff6c53ad
MW
136 (roadstar (unsafe :a roadstar.unsafe)
137 (dmz :a roadstar.dmz))
138 (jem (unsafe :a jem.unsafe)
139 (dmz :a jem.dmz))
140 (artist (unsafe :a artist.unsafe)
141 (dmz :a artist.dmz))
ec4898f9 142
ff6c53ad 143 ;; DHCP hosts.
4b5e05ad
MW
144 (gibson :cname gibson.dhcp)
145 (lespaul :cname lespaul.dhcp)
146 (firebird :cname firebird.dhcp)
aa4d55b1
MW
147 (marauder :cname marauder.dhcp)
148 (invader :cname invader.dhcp)
ec4898f9 149
6ef39f28 150 ;; Virtual network.
374be896
MW
151 (vpn :net vpn)
152 (crybaby (vpn :a crybaby.vpn))
153 (terror (vpn :a terror.vpn))
fc0ce2ed 154 (iodine :net iodine)
ec4898f9 155
6ef39f28 156 ;; ITS.
b1d5c6c2 157 (its :net its)
ff6c53ad
MW
158 (gw (its :a gw.its))
159 (mz (its :a mz.its))
ec4898f9 160
c2118713
MW
161 ;; Strange things.
162 (blackhole (jump :a blackhole.jump))
163
6ef39f28 164 ;; Delegations.
f0209b9c
MW
165 (dhcp :ns ((radius.ns.dhcp :ip radius)
166 (precision.ns.dhcp :ip precision)
167 (vampire.ns.dhcp :ip vampire)))
0262908f 168 (dnserr :ns ((radius.ns.dnserr :ip radius.dmz)
f0209b9c 169 (precision.ns.dnserr :ip precision.jump)
0262908f 170 (vampire.ns.dnserr :ip vampire.dmz)))
85a3496c 171 (io :ns ((ns.io :ip iodine.dmz))))
b1d5c6c2
MW
172
173;;;--------------------------------------------------------------------------
174;;; Other subsidiary zones.
e80b4c2d
MW
175
176(defrevzone trusted
ff6c53ad 177 :ns ((radius.ns :ip radius)
f0209b9c 178 (precision.ns :ip precision)
ff6c53ad 179 (vampire.ns :ip vampire))
b59ce50d
MW
180 :reverse unsafe
181 :reverse vpn
182 :reverse colo
183 :reverse its
345c0f69 184 :reverse any
f0209b9c
MW
185 (dhcp :ns ((radius.ns.dhcp :ip radius)
186 (precision.ns.dhcp :ip precision)
187 (vampire.ns.dhcp :ip vampire)))
04d65182
MW
188 :cidr-delegation
189 (trusted ((dhcp safe) 199.29.172.dhcp.199.29.172.in-addr.arpa)))
b3f75214 190
ff6c53ad
MW
191(defrevzone dmz
192 :ns ((radius.ns :ip radius)
f0209b9c 193 (precision.ns :ip precision)
ff6c53ad
MW
194 (vampire.ns :ip vampire))
195 :reverse dmz)
92e99247 196
38c2de7c
MW
197(defrevzone jump
198 :ns ((radius.ns :ip radius)
f0209b9c 199 (precision.ns :ip precision)
38c2de7c
MW
200 (vampire.ns :ip vampire))
201 :reverse jump)
202
995d75b4 203(defzone io.distorted.org.uk
ff6c53ad 204 :ns ((ns :ip vampire))
995d75b4
MW
205 (about :txt "Fake zone used for IP-over-DNS tunnelling."))
206
b1d5c6c2 207;;;----- That's all, folks --------------------------------------------------