]> git.openstreetmap.org Git - dns.git/blob - src/osmfoundation.js
Add SoTM 2026
[dns.git] / src / osmfoundation.js
1 D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
2
3   // Include OSM standard CAA records
4   OSM_CAA,
5
6   // Let mailbox.org handle email
7
8   MX("@", 10, "mxext1.mailbox.org."),
9   MX("@", 10, "mxext2.mailbox.org."),
10   MX("@", 20, "mxext3.mailbox.org."),
11
12   // Handle mail for the join subdomain ourselves
13
14   MX("join", 10, "a.mx.openstreetmap.org."),
15
16   // SPF policy
17
18   SPF_BUILDER({
19     label: "@",
20     parts: [
21       "v=spf1",
22       "include:mailbox.org",     // mailbox.org
23       "include:_spf.google.com", // Google GSuite
24       "include:openstreetmap.org",  // main openstreetmap.org spf record
25       "-all"
26     ]
27   }),
28
29   SPF_BUILDER({
30     label: "wiki",
31     parts: [
32       "v=spf1",
33       "include:openstreetmap.org",  // main openstreetmap.org spf record
34       "-all"
35     ]
36   }),
37
38   // Apple Business Manager verification
39   TXT("@", "apple-domain-verification=ZzBG2msRtUDehTMW"),
40
41   // Mailbox.org registration verification
42   TXT("d00f46a3fde45d06c53f3cd5b21f213ea384e7f5", "4a229bebe41606a1f7d909507846729a73998c31"),
43
44   // Publish DMARC report-only policy
45
46   DMARC_BUILDER({
47     policy: "none",
48     rua: [
49       "mailto:openstreetmap-d@dmarc.report-uri.com"
50     ],
51     failureOptions: 1
52   }),
53
54   // Google Workspace DKIM keys
55   DKIM_BUILDER({
56     selector: "google",
57     keytype: 'rsa',
58     pubkey: "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCJmTBAkYRCocCCNtVsdRNMlQel8kNfjPYJpjEm7woEgZh9yZeDzxImtz+u73oUF4+7bXzrNYbP946WNQIwAba1J69he8L1qfPBJLd3Z/fgmuaGdWcxpDno2EY4cQ8PrzvI6Vfm+6YAFANl8w09CIg41ykdlzH4iUJXD35k3SIl3wIDAQAB"
59   }),
60   DKIM_BUILDER({
61     selector: "20201112",
62     keytype: 'rsa',
63     pubkey: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz4OyJc77mpW5djxVfZm18HcmJHQLpo7B2Z8Og8byICjDiG91Tpkv5ws3xIbMsi/tVA6p5L76uL0TGKlo4ayewYvJUTC22+hBWARUuWA0DgeMwBpW/dNUOJHBABCTouolvXLKRTPTefA177Y5jYbD7ZeJAR4ZnFbZX6spimXCT66AyhqCBSrOCXYXFm3ons5ANkkQBNZ/jMYczYs9T1ijNEbBNTJmLO+whOrYLyGd3iZ9X9iOmuNFBCgXp0tsN//FBsOyTl559/XY25r3GZhiKXMbrZ1IJewqJlG0+hN1y9qwWGgq5YpZPt5YJ1KGjIrcFX59/PhNQX4khPOaD5g7ZQIDAQAB"
64   }),
65
66   // https://kb.mailbox.org/en/private/custom-domains/spf-dkim-and-dmarc-how-to-improve-spam-reputation-and-avoid-bounces
67   CNAME("MBO0001._domainkey", "MBO0001._domainkey.mailbox.org."),
68   CNAME("MBO0002._domainkey", "MBO0002._domainkey.mailbox.org."),
69   CNAME("MBO0003._domainkey", "MBO0003._domainkey.mailbox.org."),
70   CNAME("MBO0004._domainkey", "MBO0004._domainkey.mailbox.org."),
71
72   // Google postmaster tools verification
73
74   CNAME("uaqn4jv2xaoe", "gv-jun5dginqysxph.dv.googlehosted.com."),
75
76   // Aliases for google services
77
78   CNAME("login", "ghs.googlehosted.com."),
79   CNAME("docs", "ghs.googlehosted.com."),
80   CNAME("mail", "ghs.googlehosted.com."),
81   CNAME("calendar", "ghs.googlehosted.com."),
82   CNAME("sites", "ghs.googlehosted.com."),
83
84   // Aliases for mailbox.org services
85
86   CNAME("autoconfig", "mailbox.org."),
87   SRV("_hkps._tcp", 1, 1, 443, "pgp.mailbox.org."),
88
89   // Main web server and it's aliases
90
91   osm_web_service("@", "naga"),
92   osm_web_service("www", "naga"),
93   osm_web_service("wiki", "naga"),
94   osm_web_service("blog", "ridley"),
95   osm_web_service("crm", "ridley"),
96   osm_web_service("join", "ridley"),
97   osm_web_service("support", "ridley"),
98   osm_web_service("supporting", "ridley"),
99   osm_web_service("donate", "ridley"),
100   osm_web_service("board", "naga"),
101   osm_web_service("dwg", "naga"),
102   osm_web_service("mwg", "naga"),
103   osm_web_service("operations", "naga"),
104
105   // Nextcloud instance
106
107   CNAME("files", "nextcloud-openstreetmapfoundation.cloud68.systems."),
108
109   // Staging Blog
110   osm_web_service("staging.blog", "tabaluga"),
111
112   osm_web_service("hardware", "idris"),
113
114 );