chiark / gitweb /
distorted.lisp: Announce an IRC server.
[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
6ef39f28 106 ;; Wired ethernet.
04d65182
MW
107 (unsafe :net unsafe)
108 (safe :net safe)
109 (untrusted :net untrusted)
ff6c53ad
MW
110 (vampire (unsafe :a vampire.unsafe)
111 (dmz :a vampire.dmz)
d8536712 112 (safe :a vampire.safe)
fc0ce2ed
MW
113 (untrusted :a vampire.untrusted)
114 (iodine :a vampire.iodine))
ff6c53ad
MW
115 (ibanez (unsafe :a ibanez.unsafe)
116 (dmz :a ibanez.dmz))
117 (radius (unsafe :a radius.unsafe)
118 (dmz :a radius.dmz)
d8536712 119 (safe :a radius.safe)
938f6c79 120 (untrusted :a radius.untrusted))
ff6c53ad
MW
121 (roadstar (unsafe :a roadstar.unsafe)
122 (dmz :a roadstar.dmz))
123 (jem (unsafe :a jem.unsafe)
124 (dmz :a jem.dmz))
125 (artist (unsafe :a artist.unsafe)
126 (dmz :a artist.dmz))
ec4898f9 127
ff6c53ad 128 ;; DHCP hosts.
4b5e05ad
MW
129 (gibson :cname gibson.dhcp)
130 (lespaul :cname lespaul.dhcp)
131 (firebird :cname firebird.dhcp)
aa4d55b1
MW
132 (marauder :cname marauder.dhcp)
133 (invader :cname invader.dhcp)
ec4898f9 134
6ef39f28 135 ;; Virtual network.
374be896
MW
136 (vpn :net vpn)
137 (crybaby (vpn :a crybaby.vpn))
138 (terror (vpn :a terror.vpn))
fc0ce2ed 139 (iodine :net iodine)
ec4898f9 140
6ef39f28 141 ;; ITS.
b1d5c6c2 142 (its :net its)
ff6c53ad
MW
143 (gw (its :a gw.its))
144 (mz (its :a mz.its))
ec4898f9 145
c2118713
MW
146 ;; Strange things.
147 (blackhole (jump :a blackhole.jump))
148
6ef39f28 149 ;; Delegations.
f0209b9c
MW
150 (dhcp :ns ((radius.ns.dhcp :ip radius)
151 (precision.ns.dhcp :ip precision)
152 (vampire.ns.dhcp :ip vampire)))
0262908f 153 (dnserr :ns ((radius.ns.dnserr :ip radius.dmz)
f0209b9c 154 (precision.ns.dnserr :ip precision.jump)
0262908f 155 (vampire.ns.dnserr :ip vampire.dmz)))
85a3496c 156 (io :ns ((ns.io :ip iodine.dmz))))
b1d5c6c2
MW
157
158;;;--------------------------------------------------------------------------
159;;; Other subsidiary zones.
e80b4c2d
MW
160
161(defrevzone trusted
ff6c53ad 162 :ns ((radius.ns :ip radius)
f0209b9c 163 (precision.ns :ip precision)
ff6c53ad 164 (vampire.ns :ip vampire))
b59ce50d
MW
165 :reverse unsafe
166 :reverse vpn
167 :reverse colo
168 :reverse its
345c0f69 169 :reverse any
f0209b9c
MW
170 (dhcp :ns ((radius.ns.dhcp :ip radius)
171 (precision.ns.dhcp :ip precision)
172 (vampire.ns.dhcp :ip vampire)))
04d65182
MW
173 :cidr-delegation
174 (trusted ((dhcp safe) 199.29.172.dhcp.199.29.172.in-addr.arpa)))
b3f75214 175
ff6c53ad
MW
176(defrevzone dmz
177 :ns ((radius.ns :ip radius)
f0209b9c 178 (precision.ns :ip precision)
ff6c53ad
MW
179 (vampire.ns :ip vampire))
180 :reverse dmz)
92e99247 181
38c2de7c
MW
182(defrevzone jump
183 :ns ((radius.ns :ip radius)
f0209b9c 184 (precision.ns :ip precision)
38c2de7c
MW
185 (vampire.ns :ip vampire))
186 :reverse jump)
187
995d75b4 188(defzone io.distorted.org.uk
ff6c53ad 189 :ns ((ns :ip vampire))
995d75b4
MW
190 (about :txt "Fake zone used for IP-over-DNS tunnelling."))
191
b1d5c6c2 192;;;----- That's all, folks --------------------------------------------------