]> git.openstreetmap.org Git - dns.git/blob - src/stateofthemap.js
Use default TTL for TXT records
[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       "-all"
26     ]
27   }),
28
29   // Let google handle email
30
31   MX("@", 1, "aspmx.l.google.com.", TTL("1h")),
32   MX("@", 5, "alt1.aspmx.l.google.com.", TTL("1h")),
33   MX("@", 5, "alt2.aspmx.l.google.com.", TTL("1h")),
34   MX("@", 10, "alt3.aspmx.l.google.com.", TTL("1h")),
35   MX("@", 10, "alt4.aspmx.l.google.com.", TTL("1h")),
36
37   // Aliases for google services
38
39   CNAME("login", "ghs.googlehosted.com."),
40   CNAME("docs", "ghs.googlehosted.com."),
41   CNAME("mail", "ghs.googlehosted.com."),
42   CNAME("calendar", "ghs.googlehosted.com."),
43   CNAME("sites", "ghs.googlehosted.com."),
44
45   // Main web server and it's aliases
46
47   A("@", RIDLEY_IPV4, TTL("10m")),
48   A("www", RIDLEY_IPV4, TTL("10m")),
49   A("2022", RIDLEY_IPV4, TTL("10m")),
50   A("2021", RIDLEY_IPV4, TTL("10m")),
51   A("2020", RIDLEY_IPV4, TTL("10m")),
52   A("2019", RIDLEY_IPV4, TTL("10m")),
53   A("2018", RIDLEY_IPV4, TTL("10m")),
54   A("2017", RIDLEY_IPV4, TTL("10m")),
55   A("2016", RIDLEY_IPV4, TTL("10m")),
56   A("2014", RIDLEY_IPV4, TTL("10m")),
57   A("2013", RIDLEY_IPV4, TTL("10m")),
58   A("2012", RIDLEY_IPV4, TTL("10m")),
59   A("2011", RIDLEY_IPV4, TTL("10m")),
60   A("2010", RIDLEY_IPV4, TTL("10m")),
61   A("2009", RIDLEY_IPV4, TTL("10m")),
62   A("2008", RIDLEY_IPV4, TTL("10m")),
63   A("2007", RIDLEY_IPV4, TTL("10m")),
64
65   // Google Site Verification - Grant
66   TXT("2022", "google-site-verification=wT1dJzSYM_2By372lJ_v9IU1crF21qOySEAPABxUcyo")
67
68 );