]> git.openstreetmap.org Git - dns.git/blob - src/osmfoundation.js
add tiler dns
[dns.git] / src / osmfoundation.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 google handle email
17
18   MX("@", 1, "aspmx.l.google.com."),
19   MX("@", 5, "alt1.aspmx.l.google.com."),
20   MX("@", 5, "alt2.aspmx.l.google.com."),
21   MX("@", 10, "alt3.aspmx.l.google.com."),
22   MX("@", 10, "alt4.aspmx.l.google.com."),
23
24   // Handle mail for the join subdomain ourselves
25
26   MX("join", 10, "a.mx.openstreetmap.org."),
27
28   // SPF policy
29
30   SPF_BUILDER({
31     label: "@",
32     parts: [
33       "v=spf1",
34       "include:_spf.google.com", // Google GSuite
35       "ip4:212.110.172.32",      // shenron ipv4
36       "ip6:2001:41c9:1:400::32", // shenron ipv6
37       "ip4:184.104.226.98",      // fafnir ipv4
38       "ip6:2001:470:1:b3b::2",   // fafnir ipv6
39       "ip4:193.60.236.0/24",     // ucl external
40       "ip4:184.104.179.128/27",  // amsterdam external
41       "ip6:2001:470:1:fa1::/64", // amsterdam external
42       "ip4:184.104.226.96/27",   // dublin external
43       "ip6:2001:470:1:b3b::/64", // dublin external
44       "include:mailbox.org",     // mailbox.org
45       "-all"
46     ]
47   }),
48
49   SPF_BUILDER({
50     label: "wiki",
51     parts: [
52       "v=spf1",
53       "ip4:184.104.226.98",      // fafnir ipv4
54       "ip6:2001:470:1:b3b::2",   // fafnir ipv6
55       "ip4:193.60.236.0/24",     // ucl external
56       "ip4:184.104.179.128/27",  // amsterdam external
57       "ip6:2001:470:1:fa1::/64", // amsterdam external
58       "ip4:184.104.226.96/27",   // dublin external
59       "ip6:2001:470:1:b3b::/64", // dublin external
60       "-all"
61     ]
62   }),
63
64   // Apple Business Manager verification
65   TXT("@", "apple-domain-verification=ZzBG2msRtUDehTMW"),
66
67   // Mailbox.org registration verification
68   TXT("d00f46a3fde45d06c53f3cd5b21f213ea384e7f5", "4a229bebe41606a1f7d909507846729a73998c31"),
69
70   // Publish DMARC report-only policy
71
72   DMARC_BUILDER({
73     policy: "none",
74     rua: [
75       "mailto:openstreetmap-d@dmarc.report-uri.com"
76     ],
77     failureOptions: 1
78   }),
79
80   // DKIM keys
81
82   TXT("google._domainkey", "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCJmTBAkYRCocCCNtVsdRNMlQel8kNfjPYJpjEm7woEgZh9yZeDzxImtz+u73oUF4+7bXzrNYbP946WNQIwAba1J69he8L1qfPBJLd3Z/fgmuaGdWcxpDno2EY4cQ8PrzvI6Vfm+6YAFANl8w09CIg41ykdlzH4iUJXD35k3SIl3wIDAQAB"),
83   TXT("20201112._domainkey", "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz4OyJc77mpW5djxVfZm18HcmJHQLpo7B2Z8Og8byICjDiG91Tpkv5ws3xIbMsi/tVA6p5L76uL0TGKlo4ayewYvJUTC22+hBWARUuWA0DgeMwBpW/dNUOJHBABCTouolvXLKRTPTefA177Y5jYbD7ZeJAR4ZnFbZX6spimXCT66AyhqCBSrOCXYXFm3ons5ANkkQBNZ/jMYczYs9T1ijNEbBNTJmLO+whOrYLyGd3iZ9X9iOmuNFBCgXp0tsN//FBsOyTl559/XY25r3GZhiKXMbrZ1IJewqJlG0+hN1y9qwWGgq5YpZPt5YJ1KGjIrcFX59/PhNQX4khPOaD5g7ZQIDAQAB", AUTOSPLIT),
84
85   // https://kb.mailbox.org/en/private/custom-domains/spf-dkim-and-dmarc-how-to-improve-spam-reputation-and-avoid-bounces
86   CNAME("MBO0001._domainkey", "MBO0001._domainkey.mailbox.org."),
87   CNAME("MBO0002._domainkey", "MBO0002._domainkey.mailbox.org."),
88   CNAME("MBO0003._domainkey", "MBO0003._domainkey.mailbox.org."),
89   CNAME("MBO0004._domainkey", "MBO0004._domainkey.mailbox.org."),
90
91   // Google postmaster tools verification
92
93   CNAME("uaqn4jv2xaoe", "gv-jun5dginqysxph.dv.googlehosted.com."),
94
95   // Aliases for google services
96
97   CNAME("login", "ghs.googlehosted.com."),
98   CNAME("docs", "ghs.googlehosted.com."),
99   CNAME("mail", "ghs.googlehosted.com."),
100   CNAME("calendar", "ghs.googlehosted.com."),
101   CNAME("sites", "ghs.googlehosted.com."),
102
103   // Main web server and it's aliases
104
105   A("@", RIDLEY_IPV4),
106   A("www", RIDLEY_IPV4),
107   A("wiki", RIDLEY_IPV4),
108   A("blog", RIDLEY_IPV4),
109
110   A("crm", RIDLEY_IPV4),
111   A("join", RIDLEY_IPV4),
112   A("support", RIDLEY_IPV4),
113   A("supporting", RIDLEY_IPV4),
114   A("donate", RIDLEY_IPV4),
115
116   A("board", RIDLEY_IPV4),
117   A("dwg", RIDLEY_IPV4),
118   A("mwg", RIDLEY_IPV4),
119   A("operations", NAGA_IPV4),
120   AAAA("operations", NAGA_IPV6),
121
122   // Nextcloud instance
123
124   CNAME("files", "nextcloud-openstreetmapfoundation.cloud68.systems."),
125
126   A("hardware", IDRIS_IPV4)
127
128 );