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