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