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