]> git.openstreetmap.org Git - dns.git/blob - src/stateofthemap.js
Rework storage of IP addresses
[dns.git] / src / stateofthemap.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   // SPF policy
17
18   SPF_BUILDER({
19     label: "@",
20     parts: [
21       "v=spf1",
22       "include:_spf.google.com",  // Google GSuite
23       "ip4:212.110.172.32",       // shenron ipv4
24       "ip6:2001:41c9:1:400::32",  // shenron ipv6
25       "ip4:184.104.226.98",       // fafnir ipv4
26       "ip6:2001:470:1:b3b::2",    // fafnir ipv6
27       "-all"
28     ]
29   }),
30
31   // Let google handle email
32
33   MX("@", 1, "aspmx.l.google.com."),
34   MX("@", 5, "alt1.aspmx.l.google.com."),
35   MX("@", 5, "alt2.aspmx.l.google.com."),
36   MX("@", 10, "alt3.aspmx.l.google.com."),
37   MX("@", 10, "alt4.aspmx.l.google.com."),
38
39   // Aliases for google services
40
41   CNAME("login", "ghs.googlehosted.com."),
42   CNAME("docs", "ghs.googlehosted.com."),
43   CNAME("mail", "ghs.googlehosted.com."),
44   CNAME("calendar", "ghs.googlehosted.com."),
45   CNAME("sites", "ghs.googlehosted.com."),
46
47   // Main web server and it's aliases
48
49   A("@", IPV4["naga.he"]),
50   AAAA("@", IPV6["naga.he"]),
51   A("www", IPV4["naga.he"]),
52   AAAA("www", IPV6["naga.he"]),
53   A("2024", IPV4["naga.he"]),
54   AAAA("2024", IPV6["naga.he"]),
55   A("2022", IPV4["naga.he"]),
56   AAAA("2022", IPV6["naga.he"]),
57   A("2021", IPV4["naga.he"]),
58   AAAA("2021", IPV6["naga.he"]),
59   A("2020", IPV4["naga.he"]),
60   AAAA("2020", IPV6["naga.he"]),
61   A("2019", IPV4["naga.he"]),
62   AAAA("2019", IPV6["naga.he"]),
63   A("2018", IPV4["naga.he"]),
64   AAAA("2018", IPV6["naga.he"]),
65   A("2017", IPV4["naga.he"]),
66   AAAA("2017", IPV6["naga.he"]),
67   A("2016", IPV4["naga.he"]),
68   AAAA("2016", IPV6["naga.he"]),
69   A("2013", IPV4["naga.he"]),
70   AAAA("2013", IPV6["naga.he"]),
71   A("2012", IPV4["ridley"]),
72   A("2011", IPV4["ridley"]),
73   A("2010", IPV4["ridley"]),
74   A("2009", IPV4["naga.he"]),
75   AAAA("2009", IPV6["naga.he"]),
76   A("2008", IPV4["naga.he"]),
77   AAAA("2008", IPV6["naga.he"]),
78   A("2007", IPV4["naga.he"]),
79   AAAA("2007", IPV6["naga.he"]),
80
81   // HTTPS / SVCB records
82   HTTPS("@", 1, ".", "alpn=h2"),
83   HTTPS("www", 1, ".", "alpn=h2"),
84   HTTPS("2024", 1, ".", "alpn=h2"),
85   HTTPS("2022", 1, ".", "alpn=h2"),
86   HTTPS("2021", 1, ".", "alpn=h2"),
87   HTTPS("2020", 1, ".", "alpn=h2"),
88   HTTPS("2019", 1, ".", "alpn=h2"),
89   HTTPS("2018", 1, ".", "alpn=h2"),
90   HTTPS("2017", 1, ".", "alpn=h2"),
91   HTTPS("2016", 1, ".", "alpn=h2"),
92   HTTPS("2013", 1, ".", "alpn=h2"),
93   HTTPS("2012", 1, ".", "alpn=h2"),
94   HTTPS("2011", 1, ".", "alpn=h2"),
95   HTTPS("2010", 1, ".", "alpn=h2"),
96   HTTPS("2009", 1, ".", "alpn=h2"),
97   HTTPS("2008", 1, ".", "alpn=h2"),
98   HTTPS("2007", 1, ".", "alpn=h2"),
99
100   // Google Site Verification - Grant
101   TXT("2022", "google-site-verification=wT1dJzSYM_2By372lJ_v9IU1crF21qOySEAPABxUcyo"),
102   TXT("@", "google-site-verification=pqJHZHtrC4UhevQdPlR_2gVDPml6UCwmyHq75bfWLRQ")
103
104 );