summaryrefslogtreecommitdiff
path: root/bind
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-08-03 22:28:27 +0200
committerJonas Smedegaard <dr@jones.dk>2023-08-03 22:28:27 +0200
commit519b81e98bf132c4b2fc14542a5d1be530d86eae (patch)
treef6adbf7181359e4fdfe4ecf2136d036f26a3667c /bind
parent6df4712771c31bf80d6b786b6a33e905239aa4de (diff)
modernize SPF: drop SPF records (use only TXT); use softfail where mail is sent
Diffstat (limited to 'bind')
-rw-r--r--bind/skel/MX3
-rw-r--r--bind/skel/MX-A3
-rw-r--r--bind/skel/MX-avoid1
3 files changed, 2 insertions, 5 deletions
diff --git a/bind/skel/MX b/bind/skel/MX
index 95ebbbf..0cc270f 100644
--- a/bind/skel/MX
+++ b/bind/skel/MX
@@ -1,8 +1,7 @@
@ MX 5 xayide.jones.dk.
@ MX 10 graograman.jones.dk.
@ MX 50 mail.fsub.de.
-@ SPF "v=spf1 mx -all"
-@ TXT "v=spf1 mx -all"
+@ TXT "v=spf1 mx ~all"
; _domainkey records: <https://wiki.debian.org/opendkim#Quickstart>
diff --git a/bind/skel/MX-A b/bind/skel/MX-A
index 6d8bdf4..af77d0b 100644
--- a/bind/skel/MX-A
+++ b/bind/skel/MX-A
@@ -1,2 +1 @@
-@ SPF "v=spf1 a -all"
-@ TXT "v=spf1 a -all"
+@ TXT "v=spf1 a ~all"
diff --git a/bind/skel/MX-avoid b/bind/skel/MX-avoid
index 1acbe8d..be2c863 100644
--- a/bind/skel/MX-avoid
+++ b/bind/skel/MX-avoid
@@ -1,3 +1,2 @@
@ IN MX 0 .
-@ IN SPF "v=spf1 -all"
@ IN TXT "v=spf1 -all"