chiark / gitweb /
distorted.lisp, harlequin.lisp, hosts.lisp: Reorgranization.
[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
MW
15(defzone distorted.org.uk
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))
e80b4c2d 25 ;;
6ef39f28 26 ;; Mail servers.
96c2a692
MW
27 ((@ mail lists bugs cryptomail)
28 :mx mail
29 :srv ((:smtp mail)))
30 ;;
6ef39f28 31 ;; Other services.
96c2a692
MW
32 :srv ((:http www)
33 (:ftp ftp))
e80b4c2d 34 ;;
92e99247 35 ;; Entry is via little router box.
ff6c53ad
MW
36 (dmz :net dmz)
37 (guvnor (inside :svc gate.dmz) (dmz :a guvnor.dmz))
38 (gate (dmz :a gate.dmz))
39 (nat (dmz :a nat.dmz))
985aff77 40 ;;
6ef39f28 41 ;; Wireless gateway.
ff6c53ad
MW
42 (wireless :net wireless)
43 (evolution (untrusted :a evolution.untrusted))
e80b4c2d 44 ;;
6ef39f28 45 ;; Local services.
ff6c53ad 46 :svc vampire
95eac836 47 ((www ftp wiki git bugs mail db tor i2p rawk vox www-cache)
ff6c53ad 48 :svc vampire)
a060fed3 49 ;;
6ef39f28 50 ;; Internal services.
ff6c53ad
MW
51 #+view/inside ((ntp) :svc ibanez.unsafe)
52 #+view/inside ((wpad ntp1 news) :svc vampire.unsafe)
e80b4c2d 53 ;;
6ef39f28 54 ;; Wired ethernet.
ff6c53ad
MW
55 (wired :net wired)
56 (vampire (unsafe :a vampire.unsafe)
57 (dmz :a vampire.dmz)
fc0ce2ed
MW
58 (untrusted :a vampire.untrusted)
59 (iodine :a vampire.iodine))
ff6c53ad
MW
60 (obsidian (safe :a obsidian.safe))
61 (ibanez (unsafe :a ibanez.unsafe)
62 (dmz :a ibanez.dmz))
63 (radius (unsafe :a radius.unsafe)
64 (dmz :a radius.dmz)
938f6c79 65 (untrusted :a radius.untrusted))
ff6c53ad
MW
66 (roadstar (unsafe :a roadstar.unsafe)
67 (dmz :a roadstar.dmz))
68 (jem (unsafe :a jem.unsafe)
69 (dmz :a jem.dmz))
70 (artist (unsafe :a artist.unsafe)
71 (dmz :a artist.dmz))
72 ;;
73 ;; DHCP hosts.
4b5e05ad
MW
74 (gibson :cname gibson.dhcp)
75 (lespaul :cname lespaul.dhcp)
76 (firebird :cname firebird.dhcp)
aa4d55b1
MW
77 (marauder :cname marauder.dhcp)
78 (invader :cname invader.dhcp)
b1d5c6c2 79 ;;
6ef39f28 80 ;; Virtual network.
b1d5c6c2 81 (virtual :net virtual)
ff6c53ad
MW
82 (crybaby (virtual :a crybaby.virtual))
83 (terror (virtual :a terror.virtual))
fc0ce2ed 84 (iodine :net iodine)
e80b4c2d 85 ;;
6ef39f28 86 ;; ITS.
b1d5c6c2 87 (its :net its)
ff6c53ad
MW
88 (gw (its :a gw.its))
89 (mz (its :a mz.its))
b3f75214 90 ;;
6ef39f28 91 ;; Delegations.
ff6c53ad
MW
92 #+view/inside (dhcp :ns (radius.ns vampire.ns))
93 (io :ns ((ns.io :ip vampire))))
b1d5c6c2
MW
94
95;;;--------------------------------------------------------------------------
96;;; Other subsidiary zones.
e80b4c2d
MW
97
98(defrevzone trusted
ff6c53ad
MW
99 :ns ((radius.ns :ip radius)
100 (vampire.ns :ip vampire))
b3f75214 101 :reverse trusted
ff6c53ad
MW
102 (dhcp :ns (radius.ns vampire.ns))
103 (@ :cidr-delegation
104 (dhcp (dhcp 199.29.172.dhcp.199.29.172.in-addr.arpa))))
b3f75214 105
e80b4c2d 106(defrevzone untrusted
ff6c53ad
MW
107 :ns ((radius.ns :ip radius)
108 (vampire.ns :ip vampire))
8ca446b5 109 :reverse untrusted)
b3f75214 110
ff6c53ad
MW
111(defrevzone dmz
112 :ns ((radius.ns :ip radius)
113 (vampire.ns :ip vampire))
114 :reverse dmz)
92e99247 115
b3f75214 116(defzone dhcp.distorted.org.uk
ff6c53ad
MW
117 :ns ((radius.ns :ip radius)
118 (vampire.ns :ip vampire))
b3f75214
MW
119 :net dhcp)
120
995d75b4 121(defzone io.distorted.org.uk
ff6c53ad 122 :ns ((ns :ip vampire))
995d75b4
MW
123 (about :txt "Fake zone used for IP-over-DNS tunnelling."))
124
b3f75214 125(defzone dhcp.199.29.172.in-addr.arpa
ff6c53ad
MW
126 :ns ((radius.ns :ip radius)
127 (vampire.ns :ip vampire)))
5094e793 128
b1d5c6c2 129;;;----- That's all, folks --------------------------------------------------