docs: suggest mx to refer to mailserver in spf record
Much more foolproof in simple setups, because it allows all servers mentioned in a domains MX record to also send out mail, without having to track them here manually again.
This commit is contained in:
@@ -122,18 +122,18 @@ Set a ``SPF`` record
|
||||
Add a `SPF <https://en.wikipedia.org/wiki/Sender_Policy_Framework>`_
|
||||
record to the domain ``example.com``.
|
||||
|
||||
================ ===== ==== ================================
|
||||
================ ===== ==== ================
|
||||
Name (Subdomain) TTL Type Value
|
||||
================ ===== ==== ================================
|
||||
example.com 10800 TXT `v=spf1 a:mail.example.com -all`
|
||||
================ ===== ==== ================================
|
||||
================ ===== ==== ================
|
||||
example.com 10800 TXT `v=spf1 mx -all`
|
||||
================ ===== ==== ================
|
||||
|
||||
You can check this with
|
||||
|
||||
::
|
||||
|
||||
$ nix-shell -p bind --command "host -t TXT example.com"
|
||||
example.com descriptive text "v=spf1 a:mail.example.com -all"
|
||||
example.com descriptive text "v=spf1 mx -all"
|
||||
|
||||
Note that it can take a while until a DNS entry is propagated.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user