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