chiark / gitweb /
hosts.lisp, distorted.lisp: Separate address for anonymity services.
[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
MW
50 (wireless :net wireless)
51 (evolution (untrusted :a evolution.untrusted))
ec4898f9 52
6ef39f28 53 ;; Local services.
ff6c53ad 54 :svc vampire
04db9729 55 ((www krb ftp rsync wiki git bugs mail db i2p rawk vox www-cache)
ff6c53ad 56 :svc vampire)
ec4898f9 57
6ef39f28 58 ;; Internal services.
ff6c53ad
MW
59 #+view/inside ((ntp) :svc ibanez.unsafe)
60 #+view/inside ((wpad ntp1 news) :svc vampire.unsafe)
ec4898f9 61
04db9729
MW
62 ;; Anonymity services.
63 (tor :svc #+view/inside vampire.unsafe
64 #-view/inside anon.dmz)
65
6ef39f28 66 ;; Wired ethernet.
ff6c53ad
MW
67 (wired :net wired)
68 (vampire (unsafe :a vampire.unsafe)
69 (dmz :a vampire.dmz)
fc0ce2ed
MW
70 (untrusted :a vampire.untrusted)
71 (iodine :a vampire.iodine))
ff6c53ad
MW
72 (obsidian (safe :a obsidian.safe))
73 (ibanez (unsafe :a ibanez.unsafe)
74 (dmz :a ibanez.dmz))
75 (radius (unsafe :a radius.unsafe)
76 (dmz :a radius.dmz)
938f6c79 77 (untrusted :a radius.untrusted))
ff6c53ad
MW
78 (roadstar (unsafe :a roadstar.unsafe)
79 (dmz :a roadstar.dmz))
80 (jem (unsafe :a jem.unsafe)
81 (dmz :a jem.dmz))
82 (artist (unsafe :a artist.unsafe)
83 (dmz :a artist.dmz))
ec4898f9 84
ff6c53ad 85 ;; DHCP hosts.
4b5e05ad
MW
86 (gibson :cname gibson.dhcp)
87 (lespaul :cname lespaul.dhcp)
88 (firebird :cname firebird.dhcp)
aa4d55b1
MW
89 (marauder :cname marauder.dhcp)
90 (invader :cname invader.dhcp)
ec4898f9 91
6ef39f28 92 ;; Virtual network.
b1d5c6c2 93 (virtual :net virtual)
ff6c53ad
MW
94 (crybaby (virtual :a crybaby.virtual))
95 (terror (virtual :a terror.virtual))
fc0ce2ed 96 (iodine :net iodine)
ec4898f9 97
6ef39f28 98 ;; ITS.
b1d5c6c2 99 (its :net its)
ff6c53ad
MW
100 (gw (its :a gw.its))
101 (mz (its :a mz.its))
ec4898f9 102
6ef39f28 103 ;; Delegations.
ff6c53ad
MW
104 #+view/inside (dhcp :ns (radius.ns vampire.ns))
105 (io :ns ((ns.io :ip vampire))))
b1d5c6c2
MW
106
107;;;--------------------------------------------------------------------------
108;;; Other subsidiary zones.
e80b4c2d
MW
109
110(defrevzone trusted
ff6c53ad
MW
111 :ns ((radius.ns :ip radius)
112 (vampire.ns :ip vampire))
b3f75214 113 :reverse trusted
ff6c53ad
MW
114 (dhcp :ns (radius.ns vampire.ns))
115 (@ :cidr-delegation
116 (dhcp (dhcp 199.29.172.dhcp.199.29.172.in-addr.arpa))))
b3f75214 117
ff6c53ad
MW
118(defrevzone dmz
119 :ns ((radius.ns :ip radius)
120 (vampire.ns :ip vampire))
121 :reverse dmz)
92e99247 122
995d75b4 123(defzone io.distorted.org.uk
ff6c53ad 124 :ns ((ns :ip vampire))
995d75b4
MW
125 (about :txt "Fake zone used for IP-over-DNS tunnelling."))
126
b1d5c6c2 127;;;----- That's all, folks --------------------------------------------------