]> git.openstreetmap.org Git - dns.git/blob - src/openstreetmap-uk.js
Add support for publishing DNS to Cloudflare
[dns.git] / src / openstreetmap-uk.js
1 D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
2
3   // Publish CAA records indicating that only letsencrypt should issue certificates
4
5   CAA("@", "issue", "letsencrypt.org", CF_TTL_ANY),
6   CAA("@", "issuewild", "letsencrypt.org", CF_TTL_ANY),
7   CAA("@", "iodef", "mailto:hostmaster@openstreetmap.org"),
8
9   // Let the main domain handle the email
10
11   MX("@", 10, "a.mx.openstreetmap.org."),
12
13   // Delegate SPF policy to the main domain
14
15   TXT("@", "v=spf1 include:openstreetmap.org -all"),
16
17   // Delegate MTA-STS policy to the main domain
18
19   CNAME("_mta-sts", "_mta-sts.openstreetmap.org."),
20
21   // Main web site
22
23   ALIAS("@", "www.openstreetmap.org."),
24   CNAME("www", "www.openstreetmap.org."),
25   CNAME("api", "api.openstreetmap.org."),
26
27   // Shaun McDonald's taginfo instance
28
29   CNAME("taginfo", "proxy.mythic-beasts.com."),
30
31   // Aerial imagery sites
32
33   A("hampshire.aerial", "178.250.74.36", TTL("1h")),
34   AAAA("hampshire.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
35   A("a.hampshire.aerial", "178.250.74.36", TTL("1h")),
36   AAAA("a.hampshire.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
37   A("b.hampshire.aerial", "178.250.74.36", TTL("1h")),
38   AAAA("b.hampshire.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
39   A("c.hampshire.aerial", "178.250.74.36", TTL("1h")),
40   AAAA("c.hampshire.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
41
42   A("surrey.aerial", "178.250.74.36", TTL("1h")),
43   AAAA("surrey.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
44   A("a.surrey.aerial", "178.250.74.36", TTL("1h")),
45   AAAA("a.surrey.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
46   A("b.surrey.aerial", "178.250.74.36", TTL("1h")),
47   AAAA("b.surrey.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
48   A("c.surrey.aerial", "178.250.74.36", TTL("1h")),
49   AAAA("c.surrey.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
50
51   A("os", "178.250.74.36", TTL("1h")),
52   AAAA("os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
53   A("a.os", "178.250.74.36", TTL("1h")),
54   AAAA("a.os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
55   A("b.os", "178.250.74.36", TTL("1h")),
56   AAAA("b.os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
57   A("c.os", "178.250.74.36", TTL("1h")),
58   AAAA("c.os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
59
60   A("ea", "178.250.74.36", TTL("1h")),
61   AAAA("ea", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
62   A("a.ea", "178.250.74.36", TTL("1h")),
63   AAAA("a.ea", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
64   A("b.ea", "178.250.74.36", TTL("1h")),
65   AAAA("b.ea", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
66   A("c.ea", "178.250.74.36", TTL("1h")),
67   AAAA("c.ea", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h"))
68
69 );