chiark / gitweb /
Makefile, distorted.lisp: Publish reverse zones.
[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
6ef39f28 38 ;; Other services.
96c2a692
MW
39 :srv ((:http www)
40 (:ftp ftp))
ec4898f9 41
92e99247 42 ;; Entry is via little router box.
ff6c53ad
MW
43 (dmz :net dmz)
44 (guvnor (inside :svc gate.dmz) (dmz :a guvnor.dmz))
04db9729 45 (anon (dmz :a anon.dmz))
ff6c53ad
MW
46 (gate (dmz :a gate.dmz))
47 (nat (dmz :a nat.dmz))
ec4898f9 48
6ef39f28 49 ;; Wireless gateway.
ff6c53ad 50 (wireless :net wireless)
d8536712 51 (evolution (safe :a evolution.safe))
9c43df2a 52 (evolution :alias evo)
ec4898f9 53
6ef39f28 54 ;; Local services.
ff6c53ad 55 :svc vampire
1cfac96c
MW
56 ((www krb ftp rsync wiki git git-master
57 bugs mail db i2p rawk vox www-cache)
ff6c53ad 58 :svc vampire)
ec4898f9 59
6ef39f28 60 ;; Internal services.
ff6c53ad 61 #+view/inside ((ntp) :svc ibanez.unsafe)
5a6aff8e 62 #+view/inside ((wpad ntp1 news lpr) :svc vampire.unsafe)
ec4898f9 63
04db9729
MW
64 ;; Anonymity services.
65 (tor :svc #+view/inside vampire.unsafe
66 #-view/inside anon.dmz)
67
38c2de7c
MW
68 ;; Colocated hosts.
69 (colo :net colo)
70 (jump :net jump)
5d4e9b34 71 (fender ;(colo :a fender.colo)
38c2de7c 72 (jump :a fender.jump))
5d4e9b34 73 (precision ;(colo :a precision.colo)
38c2de7c 74 (jump :a precision.jump))
5d4e9b34 75 (telecaster ;(colo :a telecaster.colo)
38c2de7c
MW
76 (jump :a telecaster.jump))
77 (telecaster :alias tele)
5d4e9b34 78 (stratocaster ;(colo :a stratocaster.colo)
38c2de7c
MW
79 (jump :a stratocaster.jump))
80 (stratocaster :alias strat)
5d4e9b34 81 (jazz ;(colo :a jazz.colo)
38c2de7c
MW
82 (jump :a jazz.jump))
83
6ef39f28 84 ;; Wired ethernet.
04d65182
MW
85 (unsafe :net unsafe)
86 (safe :net safe)
87 (untrusted :net untrusted)
ff6c53ad
MW
88 (vampire (unsafe :a vampire.unsafe)
89 (dmz :a vampire.dmz)
d8536712 90 (safe :a vampire.safe)
fc0ce2ed
MW
91 (untrusted :a vampire.untrusted)
92 (iodine :a vampire.iodine))
ff6c53ad
MW
93 (ibanez (unsafe :a ibanez.unsafe)
94 (dmz :a ibanez.dmz))
95 (radius (unsafe :a radius.unsafe)
96 (dmz :a radius.dmz)
d8536712 97 (safe :a radius.safe)
938f6c79 98 (untrusted :a radius.untrusted))
ff6c53ad
MW
99 (roadstar (unsafe :a roadstar.unsafe)
100 (dmz :a roadstar.dmz))
101 (jem (unsafe :a jem.unsafe)
102 (dmz :a jem.dmz))
103 (artist (unsafe :a artist.unsafe)
104 (dmz :a artist.dmz))
ec4898f9 105
ff6c53ad 106 ;; DHCP hosts.
4b5e05ad
MW
107 (gibson :cname gibson.dhcp)
108 (lespaul :cname lespaul.dhcp)
109 (firebird :cname firebird.dhcp)
aa4d55b1
MW
110 (marauder :cname marauder.dhcp)
111 (invader :cname invader.dhcp)
ec4898f9 112
6ef39f28 113 ;; Virtual network.
374be896
MW
114 (vpn :net vpn)
115 (crybaby (vpn :a crybaby.vpn))
116 (terror (vpn :a terror.vpn))
fc0ce2ed 117 (iodine :net iodine)
ec4898f9 118
6ef39f28 119 ;; ITS.
b1d5c6c2 120 (its :net its)
ff6c53ad
MW
121 (gw (its :a gw.its))
122 (mz (its :a mz.its))
ec4898f9 123
6ef39f28 124 ;; Delegations.
74180153 125 (dhcp :ns (radius.ns vampire.ns))
ff6c53ad 126 (io :ns ((ns.io :ip vampire))))
b1d5c6c2
MW
127
128;;;--------------------------------------------------------------------------
129;;; Other subsidiary zones.
e80b4c2d
MW
130
131(defrevzone trusted
ff6c53ad
MW
132 :ns ((radius.ns :ip radius)
133 (vampire.ns :ip vampire))
b59ce50d
MW
134 :reverse unsafe
135 :reverse vpn
136 :reverse colo
137 :reverse its
ff6c53ad 138 (dhcp :ns (radius.ns vampire.ns))
04d65182
MW
139 :cidr-delegation
140 (trusted ((dhcp safe) 199.29.172.dhcp.199.29.172.in-addr.arpa)))
b3f75214 141
ff6c53ad
MW
142(defrevzone dmz
143 :ns ((radius.ns :ip radius)
144 (vampire.ns :ip vampire))
145 :reverse dmz)
92e99247 146
38c2de7c
MW
147(defrevzone jump
148 :ns ((radius.ns :ip radius)
149 (vampire.ns :ip vampire))
150 :reverse jump)
151
995d75b4 152(defzone io.distorted.org.uk
ff6c53ad 153 :ns ((ns :ip vampire))
995d75b4
MW
154 (about :txt "Fake zone used for IP-over-DNS tunnelling."))
155
b1d5c6c2 156;;;----- That's all, folks --------------------------------------------------