]> git.openstreetmap.org Git - dns.git/commitdiff
Add SPF records for messages and noreply subdomains
authorTom Hughes <tom@compton.nu>
Sat, 5 Jun 2021 09:57:09 +0000 (10:57 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 5 Jun 2021 09:57:09 +0000 (10:57 +0100)
src/openstreetmap.js

index 3508887e3c50114fbf45eef2a176562b605679d6..93c0dd7f11a5f36afcc3bf8bfd46a76a89e4b1f0 100644 (file)
@@ -39,6 +39,30 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
     ]
   }),
 
+  SPF_BUILDER({
+    label: "messages",
+    ttl: "1h",
+    parts: [
+      "v=spf1",
+      "ip4:212.110.172.32",       // shenron ipv4
+      "ip6:2001:41c9:1:400::32",  // shenron ipv6
+      "mx",                       // safety net if we change mx
+      "-all"
+    ]
+  }),
+
+  SPF_BUILDER({
+    label: "noreply",
+    ttl: "1h",
+    parts: [
+      "v=spf1",
+      "ip4:212.110.172.32",       // shenron ipv4
+      "ip6:2001:41c9:1:400::32",  // shenron ipv6
+      "mx",                       // safety net if we change mx
+      "-all"
+    ]
+  }),
+
   SPF_BUILDER({
     label: "otrs",
     ttl: "1h",