]> git.openstreetmap.org Git - dns.git/blob - src/openstreetmap-za.js
Merge remote-tracking branch 'github/pull/14'
[dns.git] / src / openstreetmap-za.js
1 D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
2
3   // Publish CAA records indicating that only letsencrypt should issue certificates
4
5   CAA_BUILDER({
6     label: "@",
7     ttl: "1h",
8     iodef: "mailto:hostmaster@openstreetmap.org",
9     issue: [
10       "letsencrypt.org",
11     ],
12     issuewild: [
13       "letsencrypt.org",
14     ],
15   }),
16
17   // Let the main domain handle the email
18
19   MX("@", 10, "a.mx.openstreetmap.org."),
20
21   // Delegate SPF policy to the main domain
22
23   SPF_BUILDER({
24     label: "@",
25     ttl: "1h",
26     parts: [
27       "v=spf1",
28       "include:openstreetmap.org",      // main openstreetmap.org spf record
29       "-all"
30     ]
31   }),
32
33   // Delegate MTA-STS policy to the main domain
34
35   CNAME("_mta-sts", "_mta-sts.openstreetmap.org."),
36
37   // Main web site
38
39   ALIAS("@", "www.openstreetmap.org."),
40   CNAME("www", "www.openstreetmap.org."),
41   CNAME("api", "api.openstreetmap.org."),
42
43   // Aerial imagery sites on draco
44
45   A("aerial", DRACO_IPV4, TTL("10m")),
46   A("a.aerial", DRACO_IPV4, TTL("10m")),
47   A("b.aerial", DRACO_IPV4, TTL("10m")),
48   A("c.aerial", DRACO_IPV4, TTL("10m")),
49
50   // Aerial imagery sites on kessie
51
52   A("coct.aerial", KESSIE_IPV4, TTL("30m")),
53   AAAA("coct.aerial", KESSIE_IPV6, TTL("30m")),
54   A("a.coct.aerial", KESSIE_IPV4, TTL("30m")),
55   AAAA("a.coct.aerial", KESSIE_IPV6, TTL("30m")),
56   A("b.coct.aerial", KESSIE_IPV4, TTL("30m")),
57   AAAA("b.coct.aerial", KESSIE_IPV6, TTL("30m")),
58   A("c.coct.aerial", KESSIE_IPV4, TTL("30m")),
59   AAAA("c.coct.aerial", KESSIE_IPV6, TTL("30m")),
60
61   A("topo", KESSIE_IPV4, TTL("30m")),
62   AAAA("topo", KESSIE_IPV6, TTL("30m")),
63   A("a.topo", KESSIE_IPV4, TTL("30m")),
64   AAAA("a.topo", KESSIE_IPV6, TTL("30m")),
65   A("b.topo", KESSIE_IPV4, TTL("30m")),
66   AAAA("b.topo", KESSIE_IPV6, TTL("30m")),
67   A("c.topo", KESSIE_IPV4, TTL("30m")),
68   AAAA("c.topo", KESSIE_IPV6, TTL("30m")),
69
70   A("namibia-topo", KESSIE_IPV4, TTL("30m")),
71   AAAA("namibia-topo", KESSIE_IPV6, TTL("30m")),
72   A("a.namibia-topo", KESSIE_IPV4, TTL("30m")),
73   AAAA("a.namibia-topo", KESSIE_IPV6, TTL("30m")),
74   A("b.namibia-topo", KESSIE_IPV4, TTL("30m")),
75   AAAA("b.namibia-topo", KESSIE_IPV6, TTL("30m")),
76   A("c.namibia-topo", KESSIE_IPV4, TTL("30m")),
77   AAAA("c.namibia-topo", KESSIE_IPV6, TTL("30m"))
78
79 );