]> git.openstreetmap.org Git - dns.git/blob - src/openstreetmap-za.js
Rework storage of IP addresses
[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
42
43   A("aerial", IPV4["lockheed"]),
44   AAAA("aerial", IPV6["lockheed"]),
45   A("a.aerial", IPV4["lockheed"]),
46   AAAA("a.aerial", IPV6["lockheed"]),
47   A("b.aerial", IPV4["lockheed"]),
48   AAAA("b.aerial", IPV6["lockheed"]),
49   A("c.aerial", IPV4["lockheed"]),
50   AAAA("c.aerial", IPV6["lockheed"]),
51
52   // HTTPS / SVCB records
53   HTTPS("aerial", 1, ".", "alpn=h2"),
54   HTTPS("a.aerial", 1, ".", "alpn=h2"),
55   HTTPS("b.aerial", 1, ".", "alpn=h2"),
56   HTTPS("c.aerial", 1, ".", "alpn=h2"),
57
58   A("coct.aerial", IPV4["lockheed"]),
59   AAAA("coct.aerial", IPV6["lockheed"]),
60   A("a.coct.aerial", IPV4["lockheed"]),
61   AAAA("a.coct.aerial", IPV6["lockheed"]),
62   A("b.coct.aerial", IPV4["lockheed"]),
63   AAAA("b.coct.aerial", IPV6["lockheed"]),
64   A("c.coct.aerial", IPV4["lockheed"]),
65   AAAA("c.coct.aerial", IPV6["lockheed"]),
66
67   // HTTPS / SVCB records
68   HTTPS("coct.aerial", 1, ".", "alpn=h2"),
69   HTTPS("a.coct.aerial", 1, ".", "alpn=h2"),
70   HTTPS("b.coct.aerial", 1, ".", "alpn=h2"),
71   HTTPS("c.coct.aerial", 1, ".", "alpn=h2"),
72
73   A("topo", IPV4["lockheed"]),
74   AAAA("topo", IPV6["lockheed"]),
75   A("a.topo", IPV4["lockheed"]),
76   AAAA("a.topo", IPV6["lockheed"]),
77   A("b.topo", IPV4["lockheed"]),
78   AAAA("b.topo", IPV6["lockheed"]),
79   A("c.topo", IPV4["lockheed"]),
80   AAAA("c.topo", IPV6["lockheed"]),
81
82   // HTTPS / SVCB records
83   HTTPS("topo", 1, ".", "alpn=h2"),
84   HTTPS("a.topo", 1, ".", "alpn=h2"),
85   HTTPS("b.topo", 1, ".", "alpn=h2"),
86   HTTPS("c.topo", 1, ".", "alpn=h2"),
87
88   A("namibia-topo", IPV4["lockheed"]),
89   AAAA("namibia-topo", IPV6["lockheed"]),
90   A("a.namibia-topo", IPV4["lockheed"]),
91   AAAA("a.namibia-topo", IPV6["lockheed"]),
92   A("b.namibia-topo", IPV4["lockheed"]),
93   AAAA("b.namibia-topo", IPV6["lockheed"]),
94   A("c.namibia-topo", IPV4["lockheed"]),
95   AAAA("c.namibia-topo", IPV6["lockheed"]),
96
97   // HTTPS / SVCB records
98   HTTPS("namibia-topo", 1, ".", "alpn=h2"),
99   HTTPS("a.namibia-topo", 1, ".", "alpn=h2"),
100   HTTPS("b.namibia-topo", 1, ".", "alpn=h2"),
101   HTTPS("c.namibia-topo", 1, ".", "alpn=h2")
102
103 );