]> git.openstreetmap.org Git - dns.git/blob - src/openstreetmap-za.js
Use default TTL for TXT records
[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     iodef: "mailto:hostmaster@openstreetmap.org",
8     issue: [
9       "letsencrypt.org",
10     ],
11     issuewild: [
12       "letsencrypt.org",
13     ],
14   }),
15
16   // Let the main domain handle the email
17
18   MX("@", 10, "a.mx.openstreetmap.org."),
19
20   // Delegate SPF policy to the main domain
21
22   SPF_BUILDER({
23     label: "@",
24     parts: [
25       "v=spf1",
26       "include:openstreetmap.org",      // main openstreetmap.org spf record
27       "-all"
28     ]
29   }),
30
31   // Delegate MTA-STS policy to the main domain
32
33   CNAME("_mta-sts", "_mta-sts.openstreetmap.org."),
34
35   // Main web site
36
37   ALIAS("@", "www.openstreetmap.org."),
38   CNAME("www", "www.openstreetmap.org."),
39   CNAME("api", "api.openstreetmap.org."),
40
41   // Aerial imagery sites on draco
42
43   A("aerial", DRACO_IPV4, TTL("10m")),
44   A("a.aerial", DRACO_IPV4, TTL("10m")),
45   A("b.aerial", DRACO_IPV4, TTL("10m")),
46   A("c.aerial", DRACO_IPV4, TTL("10m")),
47
48   // Aerial imagery sites on kessie
49
50   A("coct.aerial", KESSIE_IPV4, TTL("30m")),
51   AAAA("coct.aerial", KESSIE_IPV6, TTL("30m")),
52   A("a.coct.aerial", KESSIE_IPV4, TTL("30m")),
53   AAAA("a.coct.aerial", KESSIE_IPV6, TTL("30m")),
54   A("b.coct.aerial", KESSIE_IPV4, TTL("30m")),
55   AAAA("b.coct.aerial", KESSIE_IPV6, TTL("30m")),
56   A("c.coct.aerial", KESSIE_IPV4, TTL("30m")),
57   AAAA("c.coct.aerial", KESSIE_IPV6, TTL("30m")),
58
59   A("topo", KESSIE_IPV4, TTL("30m")),
60   AAAA("topo", KESSIE_IPV6, TTL("30m")),
61   A("a.topo", KESSIE_IPV4, TTL("30m")),
62   AAAA("a.topo", KESSIE_IPV6, TTL("30m")),
63   A("b.topo", KESSIE_IPV4, TTL("30m")),
64   AAAA("b.topo", KESSIE_IPV6, TTL("30m")),
65   A("c.topo", KESSIE_IPV4, TTL("30m")),
66   AAAA("c.topo", KESSIE_IPV6, TTL("30m")),
67
68   A("namibia-topo", KESSIE_IPV4, TTL("30m")),
69   AAAA("namibia-topo", KESSIE_IPV6, TTL("30m")),
70   A("a.namibia-topo", KESSIE_IPV4, TTL("30m")),
71   AAAA("a.namibia-topo", KESSIE_IPV6, TTL("30m")),
72   A("b.namibia-topo", KESSIE_IPV4, TTL("30m")),
73   AAAA("b.namibia-topo", KESSIE_IPV6, TTL("30m")),
74   A("c.namibia-topo", KESSIE_IPV4, TTL("30m")),
75   AAAA("c.namibia-topo", KESSIE_IPV6, TTL("30m"))
76
77 );