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