1 ;;; Zone file for distorted.org.uk
3 (load "hosts" :verbose nil)
5 ;;;--------------------------------------------------------------------------
6 ;;; Network allocations
7 ;;; (RFC1918 addresses are allocated from Cambridge G-RIN.)
9 (defnet distorted.org.uk 172.29.198.0/23
21 ;;;--------------------------------------------------------------------------
24 ;; External addresses.
25 (defhost guvnor.demon 80.177.3.76)
28 (defhost guvnor (unsafe 1))
29 (defhost metalzone (unsafe 2))
30 ;;(defhost evolution.fretwank (unsafe 3))
31 (defhost vampire (unsafe 4))
34 (defhost tubescreamer (safe 1))
35 (defhost obsidian (safe 2))
38 (defhost vampire.untrusted (untrusted 1))
39 (defhost evolution (untrusted 2))
41 ;; Virtual private network.
42 (defhost crybaby (virtual 1))
43 (defhost terror (virtual 2))
46 (defhost vampire.iodine (iodine 1))
48 ;; Special network for ITS.
49 ;; It doesn't understand point-to-point links, so we need a little net.
53 ;;;--------------------------------------------------------------------------
54 ;;; Other definitions.
56 (setf *default-zone-admin* "hostmaster@distorted.org.uk")
58 (preferred-subnet-case
60 (setf *default-zone-source* 'vampire.distorted.org.uk.)
61 (defhost www-frontend metalzone)
62 (defhost dns-frontend vampire))
64 (setf *default-zone-source* 'guvnor.distorted.org.uk.)
65 (defhost www-frontend guvnor.demon)
66 (defhost dns-frontend guvnor.demon)))
68 ;;;--------------------------------------------------------------------------
69 ;;; Main zone definition.
71 (defzone distorted.org.uk
74 :ns #+subnet/fretwank ((metalzone.ns :ip metalzone)
75 (vampire.ns :ip vampire))
76 #-subnet/fretwank ((boyle.ns :ip boyle.nsict.org)
77 (chiark.ns :ip chiark.greenend.org.uk)
78 (guvnor.ns :ip guvnor.demon))
81 ((@ mail lists bugs cryptomail)
89 ;; Colocated services.
90 ;;((www ftp git) (inet :svc boyle.nsict.org) (fretwank :svc metalzone))
92 ;; Entry is via little port-forwarding box.
93 (guvnor (inet :a guvnor.demon) (fretwank :a guvnor))
96 (untrusted :net untrusted)
97 (evolution (untrusted :a evolution))
100 (@ :svc www-frontend)
101 ((www ftp wiki git bugs mail)
102 (inet :svc guvnor.demon)
103 (fretwank :svc metalzone))
104 ((db tor i2p rawk vox www-cache)
105 (inet :svc guvnor.demon)
106 (fretwank :svc vampire))
108 ;; Internal services.
109 ((ntp1) (fretwank :svc metalzone))
110 ((wpad ntp news) (fretwank :svc vampire))
113 (fretwank :net fretwank)
114 (metalzone (inet :a guvnor.demon)
115 (fretwank :a metalzone))
116 (vampire (fretwank :a vampire)
117 (untrusted :a vampire.untrusted)
118 (iodine :a vampire.iodine))
119 (obsidian (fretwank :a obsidian))
122 (virtual :net virtual)
123 (crybaby (virtual :a crybaby))
124 (terror (virtual :a terror))
133 #+subnet/fretwank (dhcp :ns (metalzone.ns vampire.ns))
134 (io :ns ((ns.io :ip dns-frontend))))
136 ;;;--------------------------------------------------------------------------
137 ;;; Other subsidiary zones.
140 :ns ((metalzone.ns :ip metalzone) (vampire.ns :ip vampire))
142 #+subnet/fretwank (dhcp :ns (metalzone.ns vampire.ns))
143 #+subnet/fretwank (@ :cidr-delegation
145 (dhcp 199.29.172.dhcp.199.29.172.in-addr.arpa))))
147 (defrevzone untrusted
148 :ns ((metalzone.ns :ip metalzone) (vampire.ns :ip vampire))
151 (defzone dhcp.distorted.org.uk
152 :ns ((metalzone.ns :ip metalzone) (vampire.ns :ip vampire))
155 (defzone io.distorted.org.uk
156 :ns ((ns :ip dns-frontend))
157 (about :txt "Fake zone used for IP-over-DNS tunnelling."))
159 (defzone dhcp.199.29.172.in-addr.arpa
160 :ns ((metalzone.ns :ip metalzone) (vampire.ns :ip vampire)))
162 ;;;----- That's all, folks --------------------------------------------------