-
Notifications
You must be signed in to change notification settings - Fork 13
/
openstreetmap-za.js
105 lines (84 loc) · 2.73 KB
/
openstreetmap-za.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
// Publish CAA records indicating that only letsencrypt should issue certificates
CAA_BUILDER({
label: "@",
iodef: "mailto:hostmaster@openstreetmap.org",
issue: [
"letsencrypt.org",
],
issuewild: [
"letsencrypt.org",
],
}),
// Let the main domain handle the email
MX("@", 10, "a.mx.openstreetmap.org."),
// Delegate SPF policy to the main domain
SPF_BUILDER({
label: "@",
parts: [
"v=spf1",
"include:openstreetmap.org", // main openstreetmap.org spf record
"-all"
]
}),
// Delegate MTA-STS policy to the main domain
CNAME("_mta-sts", "_mta-sts.openstreetmap.org."),
// Main web site
ALIAS("@", "www.openstreetmap.org."),
CNAME("www", "www.openstreetmap.org."),
CNAME("api", "api.openstreetmap.org."),
// Aerial imagery sites on ironbelly
A("aerial", LOCKHEED_IPV4),
AAAA("aerial", LOCKHEED_IPV6),
A("a.aerial", LOCKHEED_IPV4),
AAAA("a.aerial", LOCKHEED_IPV6),
A("b.aerial", LOCKHEED_IPV4),
AAAA("b.aerial", LOCKHEED_IPV6),
A("c.aerial", LOCKHEED_IPV4),
AAAA("c.aerial", LOCKHEED_IPV6),
// HTTPS / SVCB records
HTTPS("aerial", 1, ".", "alpn=h2"),
HTTPS("a.aerial", 1, ".", "alpn=h2"),
HTTPS("b.aerial", 1, ".", "alpn=h2"),
HTTPS("c.aerial", 1, ".", "alpn=h2"),
// Aerial imagery sites on kessie
A("coct.aerial", KESSIE_IPV4),
AAAA("coct.aerial", KESSIE_IPV6),
A("a.coct.aerial", KESSIE_IPV4),
AAAA("a.coct.aerial", KESSIE_IPV6),
A("b.coct.aerial", KESSIE_IPV4),
AAAA("b.coct.aerial", KESSIE_IPV6),
A("c.coct.aerial", KESSIE_IPV4),
AAAA("c.coct.aerial", KESSIE_IPV6),
// HTTPS / SVCB records
HTTPS("coct.aerial", 1, ".", "alpn=h2"),
HTTPS("a.coct.aerial", 1, ".", "alpn=h2"),
HTTPS("b.coct.aerial", 1, ".", "alpn=h2"),
HTTPS("c.coct.aerial", 1, ".", "alpn=h2"),
A("topo", KESSIE_IPV4),
AAAA("topo", KESSIE_IPV6),
A("a.topo", KESSIE_IPV4),
AAAA("a.topo", KESSIE_IPV6),
A("b.topo", KESSIE_IPV4),
AAAA("b.topo", KESSIE_IPV6),
A("c.topo", KESSIE_IPV4),
AAAA("c.topo", KESSIE_IPV6),
// HTTPS / SVCB records
HTTPS("topo", 1, ".", "alpn=h2"),
HTTPS("a.topo", 1, ".", "alpn=h2"),
HTTPS("b.topo", 1, ".", "alpn=h2"),
HTTPS("c.topo", 1, ".", "alpn=h2"),
A("namibia-topo", KESSIE_IPV4),
AAAA("namibia-topo", KESSIE_IPV6),
A("a.namibia-topo", KESSIE_IPV4),
AAAA("a.namibia-topo", KESSIE_IPV6),
A("b.namibia-topo", KESSIE_IPV4),
AAAA("b.namibia-topo", KESSIE_IPV6),
A("c.namibia-topo", KESSIE_IPV4),
AAAA("c.namibia-topo", KESSIE_IPV6),
// HTTPS / SVCB records
HTTPS("namibia-topo", 1, ".", "alpn=h2"),
HTTPS("a.namibia-topo", 1, ".", "alpn=h2"),
HTTPS("b.namibia-topo", 1, ".", "alpn=h2"),
HTTPS("c.namibia-topo", 1, ".", "alpn=h2")
);