]> git.openstreetmap.org Git - dns.git/commitdiff
Add a report only DMARC policy
authorTom Hughes <tom@compton.nu>
Fri, 4 Jun 2021 07:24:11 +0000 (08:24 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 4 Jun 2021 07:24:11 +0000 (08:24 +0100)
src/openstreetmap.js

index b31c18a093d8eff592f6cb66fc3d65828c26abd1..45eed904a1162571ef4e3b356f075f157a71e3e3 100644 (file)
@@ -55,6 +55,19 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
   TXT("20200301._domainkey", "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzvoNZVOGfw1V4A171hxHMhzVTAnIUQVJ8iX3wbqCld8A5iIaXeTGYvBmewymax/cYJS4QqzbpUzkgrrTA9avuZhd+QGJDgjADgx4VyMOaOS6FwAxS0uXtLrt+lsixRDx/feKyZHaxjzJAQy46ok77xXL4UXIaaovw6G6eZpIScMzZQ2zkKNJxTICzzSOduIilHhMWte4XP+/2PdRmD7Ge9jb0U4bZjswX0AqKSGzDKYw+yxVna9l53adeCnklqg2ofoXu+ResiH+kt05aCUOMo8en3em6yBnRCMalgi1E3Tt7I5BWcYFRkT/8agUGW4gGC6XMV9IskOsYL0emG0kGwIDAQAB", AUTOSPLIT),
 
+  // Publish DMARC report-only policy
+
+  DMARC_BUILDER({
+    policy: "none",
+    rua: [
+      "mailto:openstreetmap-d@dmarc.report-uri.com"
+    ],
+    ruf: [
+      "mailto:admins@openstreetmap.org"
+    ],
+    failureOptions: 1
+  }),
+
   // Announce MTA-STS policy and TLSRPT policy for error reports
 
   TXT("_mta-sts", "v=STSv1; id=202001291805Z"),