From 37a0e2783699b79dfa47018cca7f206dc7b97b5b Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 5 May 2024 00:34:05 +0100 Subject: [PATCH] distorted.lisp: Add SPF records for mail servers. --- distorted.lisp | 6 ++++++ odin.lisp | 3 +++ 2 files changed, 9 insertions(+) diff --git a/distorted.lisp b/distorted.lisp index 8147a62..8ff1a3a 100644 --- a/distorted.lisp +++ b/distorted.lisp @@ -85,7 +85,13 @@ (bugs :mx lists :srv ((:smtp bugs))) (lists :mx lists :srv ((:smtp lists))) ((_domainkey _domainkey.mail) :dname stratocaster.dkim) + ((stratocaster @ mail) :spf ((:version "spf1") + (:pass :ip stratocaster.dmz) + (:shrug :all))) ((_domainkey.bugs _domainkey.lists) :dname telecaster.dkim) + ((telecaster bugs lists) :spf ((:version "spf1") + (:pass :ip telecaster.dmz) + (:shrug :all))) ;; Anycast services. (dns0 :anycast ((any dns0.any) (dmz radius.dmz) diff --git a/odin.lisp b/odin.lisp index 73abae1..fc04fde 100644 --- a/odin.lisp +++ b/odin.lisp @@ -26,4 +26,7 @@ ;; Mail servers :mx ((mail :ip stratocaster)) :srv ((:smtp mail)) + :spf ((:version "spf1") + (:pass :ip stratocaster.dmz) + (:shrug :all)) (_domainkey :dname stratocaster.dkim.distorted.org.uk.)) -- 2.11.0