Moved bugs installation to hummus
[exim-dns.git] / exim.org.lua
1 -- File: exim.org.lua
2 -- Zone: exim.org
3 -- SOA record is automatically generated
4 -- Variable _a is replaced with zone name
5 -- _a = 'exim.org'
6
7 -- NS records
8 -- automatically added - these are just for history
9 --    .exim.org::a.ns.bytemark.co.uk:21600
10 --    .exim.org::b.ns.bytemark.co.uk:21600
11 --    .exim.org::c.ns.bytemark.co.uk:21600
12
13 -- IPs we use
14 local tahini_ipv4 = '131.111.8.192'
15 local tahini_ipv6 = '2001:630:212:8:204:23ff:fed6:b664'
16 local hummus_ipv4 = '131.111.8.88'
17 local hummus_ipv6 = '2001:630:212:8::e:f0e'
18 local main_ipv4 = tahini_ipv4
19 local main_ipv6 = tahini_ipv6
20
21 -- Standard TTL
22 local ttl = 900
23
24 -- Basic A/AAAA records
25
26 local a_record_names = {
27     _a, 'www', 'mail', 'ftp', 'wiki', 'lists',
28     'docs', 'vcs', 'git', 'dev', 'www2' }
29 for val in values(a_record_names) do
30     a_and_aaaa(val, main_ipv4, main_ipv6,       ttl)
31 end
32
33 -- Server transition
34
35 local newsite_record_names = {
36     'newsite',
37     'n-vcs', 'n-docs', 'n-git', 'n-dev', 'n-wiki', 'n-lists', 'n-bugs', 'n-ftp',
38     'n-www',
39     'bugs', }
40 for val in values(newsite_record_names) do
41     a_and_aaaa(val, hummus_ipv4, hummus_ipv6, ttl)
42 end
43
44
45 -- MX records
46 mx(_a,              'tahini.csx.cam.ac.uk', 5,  ttl)
47 mx(_a,              'boom.graemef.net', 15,     ttl)
48 --
49 mx('bugs',          'tahini.csx.cam.ac.uk', 5,  ttl)
50
51 -- Mirrors etc - A and a few CNAME records
52 a('www.ie',         '193.120.14.243',           ttl)
53 a('www.fr',         '193.54.153.246',           ttl)
54 a('www.congo',      '194.7.39.155',             ttl)
55 a('ftp.de',         '195.211.161.101',          ttl)
56 a('www.de',         '195.211.161.101',          ttl)
57 a('www.tw',         '192.72.81.219',            ttl)
58 a('www.pl',         '193.219.28.2',             ttl)
59 cname('www.no',     'spheniscus.uninett.no',    ttl)
60
61 -- Delegation of testdns.exim.org for testsuite
62 ns('testdns',       'nlns.globnix.net',         ttl)
63 ns('testdns',       'us0ns.globnix.net',        ttl)
64
65 -- end