chiark / gitweb /
distorted.lisp: New role name `lpr'.
[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 59 #+view/inside ((ntp) :svc ibanez.unsafe)
5a6aff8e 60 #+view/inside ((wpad ntp1 news lpr) :svc vampire.unsafe)
ec4898f9 61
04db9729
MW
62 ;; Anonymity services.
63 (tor :svc #+view/inside vampire.unsafe
64 #-view/inside anon.dmz)
65
38c2de7c
MW
66 ;; Colocated hosts.
67 (colo :net colo)
68 (jump :net jump)
69 (fender (colo :a fender.colo)
70 (jump :a fender.jump))
71 (precision (colo :a precision.colo)
72 (jump :a precision.jump))
73 (telecaster (colo :a telecaster.colo)
74 (jump :a telecaster.jump))
75 (telecaster :alias tele)
76 (stratocaster (colo :a stratocaster.colo)
77 (jump :a stratocaster.jump))
78 (stratocaster :alias strat)
79 (jazz (colo :a jazz.colo)
80 (jump :a jazz.jump))
81
6ef39f28 82 ;; Wired ethernet.
ff6c53ad
MW
83 (wired :net wired)
84 (vampire (unsafe :a vampire.unsafe)
85 (dmz :a vampire.dmz)
fc0ce2ed
MW
86 (untrusted :a vampire.untrusted)
87 (iodine :a vampire.iodine))
ff6c53ad
MW
88 (obsidian (safe :a obsidian.safe))
89 (ibanez (unsafe :a ibanez.unsafe)
90 (dmz :a ibanez.dmz))
91 (radius (unsafe :a radius.unsafe)
92 (dmz :a radius.dmz)
938f6c79 93 (untrusted :a radius.untrusted))
ff6c53ad
MW
94 (roadstar (unsafe :a roadstar.unsafe)
95 (dmz :a roadstar.dmz))
96 (jem (unsafe :a jem.unsafe)
97 (dmz :a jem.dmz))
98 (artist (unsafe :a artist.unsafe)
99 (dmz :a artist.dmz))
ec4898f9 100
ff6c53ad 101 ;; DHCP hosts.
4b5e05ad
MW
102 (gibson :cname gibson.dhcp)
103 (lespaul :cname lespaul.dhcp)
104 (firebird :cname firebird.dhcp)
aa4d55b1
MW
105 (marauder :cname marauder.dhcp)
106 (invader :cname invader.dhcp)
ec4898f9 107
6ef39f28 108 ;; Virtual network.
b1d5c6c2 109 (virtual :net virtual)
ff6c53ad
MW
110 (crybaby (virtual :a crybaby.virtual))
111 (terror (virtual :a terror.virtual))
fc0ce2ed 112 (iodine :net iodine)
ec4898f9 113
6ef39f28 114 ;; ITS.
b1d5c6c2 115 (its :net its)
ff6c53ad
MW
116 (gw (its :a gw.its))
117 (mz (its :a mz.its))
ec4898f9 118
6ef39f28 119 ;; Delegations.
ff6c53ad
MW
120 #+view/inside (dhcp :ns (radius.ns vampire.ns))
121 (io :ns ((ns.io :ip vampire))))
b1d5c6c2
MW
122
123;;;--------------------------------------------------------------------------
124;;; Other subsidiary zones.
e80b4c2d
MW
125
126(defrevzone trusted
ff6c53ad
MW
127 :ns ((radius.ns :ip radius)
128 (vampire.ns :ip vampire))
b3f75214 129 :reverse trusted
ff6c53ad
MW
130 (dhcp :ns (radius.ns vampire.ns))
131 (@ :cidr-delegation
132 (dhcp (dhcp 199.29.172.dhcp.199.29.172.in-addr.arpa))))
b3f75214 133
ff6c53ad
MW
134(defrevzone dmz
135 :ns ((radius.ns :ip radius)
136 (vampire.ns :ip vampire))
137 :reverse dmz)
92e99247 138
38c2de7c
MW
139(defrevzone jump
140 :ns ((radius.ns :ip radius)
141 (vampire.ns :ip vampire))
142 :reverse jump)
143
995d75b4 144(defzone io.distorted.org.uk
ff6c53ad 145 :ns ((ns :ip vampire))
995d75b4
MW
146 (about :txt "Fake zone used for IP-over-DNS tunnelling."))
147
b1d5c6c2 148;;;----- That's all, folks --------------------------------------------------