]> git.openstreetmap.org Git - dns.git/commitdiff
Add mailbox.org config for openstreetmap.io
authorGrant Slater <github@firefishy.com>
Tue, 17 Oct 2023 14:40:47 +0000 (15:40 +0100)
committerGrant Slater <github@firefishy.com>
Tue, 17 Oct 2023 14:40:47 +0000 (15:40 +0100)
src/openstreetmap-io.js

index b46c6c3ccbffe77ae844f5a09ab5a83ee3a6ae2b..59a4306b3b86fa81b39f1c5c80ddead4818854a2 100644 (file)
@@ -1,6 +1,44 @@
 D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
-// mailbox.org validation
-TXT("d00f46a3fde45d06c53f3cd5b21f213ea384e7f5", "6d4584a5987b1d97e691d9664107c604e53e083e")
+  // https://kb.mailbox.org/service-desk/account-article/how-to-set-up-my-domain-name
+  MX("@", 10, "mxext1.mailbox.org."),
+  MX("@", 10, "mxext2.mailbox.org."),
+  MX("@", 20, "mxext3.mailbox.org."),
+
+  // https://kb.mailbox.org/en/private/custom-domains/spf-dkim-and-dmarc-how-to-improve-spam-reputation-and-avoid-bounces
+  SPF_BUILDER({
+    label: "@",
+    parts: [
+      "v=spf1",
+      "include:mailbox.org",
+      "~all"
+    ]
+  }),
+
+  // https://kb.mailbox.org/en/private/custom-domains/spf-dkim-and-dmarc-how-to-improve-spam-reputation-and-avoid-bounces
+  CNAME("MBO0001._domainkey", "MBO0001._domainkey.mailbox.org."),
+  CNAME("MBO0002._domainkey", "MBO0002._domainkey.mailbox.org."),
+  CNAME("MBO0003._domainkey", "MBO0003._domainkey.mailbox.org."),
+  CNAME("MBO0004._domainkey", "MBO0004._domainkey.mailbox.org."),
+
+  // https://kb.mailbox.org/en/private/custom-domains/how-to-configure-e-mail-clients-automatically-through-dns
+  CNAME("autoconfig", "mailbox.org."),
+  SRV("_autodiscover._tcp", 0, 0, 443, "mailbox.org."),
+
+  // Publish DMARC report-only policy
+  DMARC_BUILDER({
+    policy: "none",
+    rua: [
+      "mailto:openstreetmap-d@dmarc.report-uri.com"
+    ],
+    failureOptions: 1
+  }),
+
+  // https://kb.mailbox.org/en/private/custom-domains/how-to-specify-a-key-server-in-the-srv-record
+  SRV("_hkps._tcp", 1, 1, 443, "pgp.mailbox.org."),
+
+
+  // mailbox.org validation
+  TXT("d00f46a3fde45d06c53f3cd5b21f213ea384e7f5", "6d4584a5987b1d97e691d9664107c604e53e083e")
 
 );
\ No newline at end of file