chiark / gitweb /
hosts.lisp, distorted.lisp: Allocate a separate address for iodine.
[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
MW
18 :ns #+view/inside ((radius.ns :ip radius)
19 (vampire.ns :ip vampire))
20 #-view/inside ((radius.ns :ip radius)
21 (vampire.ns :ip vampire)
22 (mythic-beasts-1.ns :ip mythic-ns1)
4a487d58 23 (mythic-beasts-2.ns :ip mythic-ns2)
ff6c53ad 24 (chiark.ns :ip chiark.greenend.org.uk))
ec4898f9 25
6ef39f28 26 ;; Mail servers.
96c2a692
MW
27 ((@ mail lists bugs cryptomail)
28 :mx mail
29 :srv ((:smtp mail)))
ec4898f9 30
01961e83
MW
31 ;; Kerberos.
32 (_kerberos :txt "DISTORTED.ORG.UK")
33 :srv (((:kerberos :protocol :udp) krb)
34 ((:kerberos-master :protocol :udp :port 88) krb)
35 (:kerberos-adm krb)
36 ((:kpasswd :protocol :udp) krb))
37
345c0f69 38 ;; Anycast services. (Currently not implemented.)
e40773af 39 (dns0 (unsafe :svc radius.unsafe)
345c0f69 40 (any :a dns0.any))
e40773af 41 (dns1 (unsafe :svc vampire.unsafe)
345c0f69 42 (any :a dns1.any))
e40773af 43 (ntp0 (unsafe :svc ibanez.unsafe)
345c0f69 44 (any :a ntp0.any))
e40773af 45 (ntp1 (unsafe :svc vampire.unsafe)
345c0f69
MW
46 (any :a ntp1.any))
47 (www-cache (dmz :svc vampire.dmz)
e40773af 48 (unsafe :svc vampire.unsafe)
345c0f69
MW
49 (any :a www-cache.any))
50 (dns :cname dns0)
51 (ntp :cname ntp0)
52 (wpad :cname www-cache)
53
6ef39f28 54 ;; Other services.
96c2a692
MW
55 :srv ((:http www)
56 (:ftp ftp))
ec4898f9 57
92e99247 58 ;; Entry is via little router box.
ff6c53ad
MW
59 (dmz :net dmz)
60 (guvnor (inside :svc gate.dmz) (dmz :a guvnor.dmz))
04db9729 61 (anon (dmz :a anon.dmz))
ff6c53ad
MW
62 (gate (dmz :a gate.dmz))
63 (nat (dmz :a nat.dmz))
ec4898f9 64
6ef39f28 65 ;; Wireless gateway.
ff6c53ad 66 (wireless :net wireless)
d8536712 67 (evolution (safe :a evolution.safe))
9c43df2a 68 (evolution :alias evo)
ec4898f9 69
6ef39f28 70 ;; Local services.
ff6c53ad 71 :svc vampire
345c0f69 72 ((www krb ftp rsync wiki git bugs mail db i2p rawk vox)
ff6c53ad 73 :svc vampire)
ec4898f9 74
6ef39f28 75 ;; Internal services.
345c0f69 76 #+view/inside ((news lpr) :svc vampire.unsafe)
ec4898f9 77
04db9729
MW
78 ;; Anonymity services.
79 (tor :svc #+view/inside vampire.unsafe
80 #-view/inside anon.dmz)
81
85a3496c
MW
82 ;; Fancy connectivity.
83 (iodine (dmz :a iodine.dmz))
84
38c2de7c
MW
85 ;; Colocated hosts.
86 (colo :net colo)
87 (jump :net jump)
5d4e9b34 88 (fender ;(colo :a fender.colo)
38c2de7c 89 (jump :a fender.jump))
5d4e9b34 90 (precision ;(colo :a precision.colo)
38c2de7c 91 (jump :a precision.jump))
5d4e9b34 92 (telecaster ;(colo :a telecaster.colo)
38c2de7c
MW
93 (jump :a telecaster.jump))
94 (telecaster :alias tele)
5d4e9b34 95 (stratocaster ;(colo :a stratocaster.colo)
38c2de7c
MW
96 (jump :a stratocaster.jump))
97 (stratocaster :alias strat)
5d4e9b34 98 (jazz ;(colo :a jazz.colo)
38c2de7c
MW
99 (jump :a jazz.jump))
100
6ef39f28 101 ;; Wired ethernet.
04d65182
MW
102 (unsafe :net unsafe)
103 (safe :net safe)
104 (untrusted :net untrusted)
ff6c53ad
MW
105 (vampire (unsafe :a vampire.unsafe)
106 (dmz :a vampire.dmz)
d8536712 107 (safe :a vampire.safe)
fc0ce2ed
MW
108 (untrusted :a vampire.untrusted)
109 (iodine :a vampire.iodine))
ff6c53ad
MW
110 (ibanez (unsafe :a ibanez.unsafe)
111 (dmz :a ibanez.dmz))
112 (radius (unsafe :a radius.unsafe)
113 (dmz :a radius.dmz)
d8536712 114 (safe :a radius.safe)
938f6c79 115 (untrusted :a radius.untrusted))
ff6c53ad
MW
116 (roadstar (unsafe :a roadstar.unsafe)
117 (dmz :a roadstar.dmz))
118 (jem (unsafe :a jem.unsafe)
119 (dmz :a jem.dmz))
120 (artist (unsafe :a artist.unsafe)
121 (dmz :a artist.dmz))
ec4898f9 122
ff6c53ad 123 ;; DHCP hosts.
4b5e05ad
MW
124 (gibson :cname gibson.dhcp)
125 (lespaul :cname lespaul.dhcp)
126 (firebird :cname firebird.dhcp)
aa4d55b1
MW
127 (marauder :cname marauder.dhcp)
128 (invader :cname invader.dhcp)
ec4898f9 129
6ef39f28 130 ;; Virtual network.
374be896
MW
131 (vpn :net vpn)
132 (crybaby (vpn :a crybaby.vpn))
133 (terror (vpn :a terror.vpn))
fc0ce2ed 134 (iodine :net iodine)
ec4898f9 135
6ef39f28 136 ;; ITS.
b1d5c6c2 137 (its :net its)
ff6c53ad
MW
138 (gw (its :a gw.its))
139 (mz (its :a mz.its))
ec4898f9 140
6ef39f28 141 ;; Delegations.
74180153 142 (dhcp :ns (radius.ns vampire.ns))
85a3496c 143 (io :ns ((ns.io :ip iodine.dmz))))
b1d5c6c2
MW
144
145;;;--------------------------------------------------------------------------
146;;; Other subsidiary zones.
e80b4c2d
MW
147
148(defrevzone trusted
ff6c53ad
MW
149 :ns ((radius.ns :ip radius)
150 (vampire.ns :ip vampire))
b59ce50d
MW
151 :reverse unsafe
152 :reverse vpn
153 :reverse colo
154 :reverse its
345c0f69 155 :reverse any
ff6c53ad 156 (dhcp :ns (radius.ns vampire.ns))
04d65182
MW
157 :cidr-delegation
158 (trusted ((dhcp safe) 199.29.172.dhcp.199.29.172.in-addr.arpa)))
b3f75214 159
ff6c53ad
MW
160(defrevzone dmz
161 :ns ((radius.ns :ip radius)
162 (vampire.ns :ip vampire))
163 :reverse dmz)
92e99247 164
38c2de7c
MW
165(defrevzone jump
166 :ns ((radius.ns :ip radius)
167 (vampire.ns :ip vampire))
168 :reverse jump)
169
995d75b4 170(defzone io.distorted.org.uk
ff6c53ad 171 :ns ((ns :ip vampire))
995d75b4
MW
172 (about :txt "Fake zone used for IP-over-DNS tunnelling."))
173
b1d5c6c2 174;;;----- That's all, folks --------------------------------------------------