]> git.openstreetmap.org Git - dns.git/blob - src/openstreetmap-io.js
59a4306b3b86fa81b39f1c5c80ddead4818854a2
[dns.git] / src / openstreetmap-io.js
1 D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
2
3   // https://kb.mailbox.org/service-desk/account-article/how-to-set-up-my-domain-name
4   MX("@", 10, "mxext1.mailbox.org."),
5   MX("@", 10, "mxext2.mailbox.org."),
6   MX("@", 20, "mxext3.mailbox.org."),
7
8   // https://kb.mailbox.org/en/private/custom-domains/spf-dkim-and-dmarc-how-to-improve-spam-reputation-and-avoid-bounces
9   SPF_BUILDER({
10     label: "@",
11     parts: [
12       "v=spf1",
13       "include:mailbox.org",
14       "~all"
15     ]
16   }),
17
18   // https://kb.mailbox.org/en/private/custom-domains/spf-dkim-and-dmarc-how-to-improve-spam-reputation-and-avoid-bounces
19   CNAME("MBO0001._domainkey", "MBO0001._domainkey.mailbox.org."),
20   CNAME("MBO0002._domainkey", "MBO0002._domainkey.mailbox.org."),
21   CNAME("MBO0003._domainkey", "MBO0003._domainkey.mailbox.org."),
22   CNAME("MBO0004._domainkey", "MBO0004._domainkey.mailbox.org."),
23
24   // https://kb.mailbox.org/en/private/custom-domains/how-to-configure-e-mail-clients-automatically-through-dns
25   CNAME("autoconfig", "mailbox.org."),
26   SRV("_autodiscover._tcp", 0, 0, 443, "mailbox.org."),
27
28   // Publish DMARC report-only policy
29   DMARC_BUILDER({
30     policy: "none",
31     rua: [
32       "mailto:openstreetmap-d@dmarc.report-uri.com"
33     ],
34     failureOptions: 1
35   }),
36
37   // https://kb.mailbox.org/en/private/custom-domains/how-to-specify-a-key-server-in-the-srv-record
38   SRV("_hkps._tcp", 1, 1, 443, "pgp.mailbox.org."),
39
40
41   // mailbox.org validation
42   TXT("d00f46a3fde45d06c53f3cd5b21f213ea384e7f5", "6d4584a5987b1d97e691d9664107c604e53e083e")
43
44 );