• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

SPF record

jorge ceballos

Regular Pleskian
Hi,

want to add SPF records for my domains but I'm not certain of the correct syntaxis; should I wirite "v=spf1 a mx ~all" with quotations or without them?
Querying through mxtoolbox using both alternatives got these two different answers (changed my real domain to mydomain.com):

using "v=spf1 a mx ~all":

spf:mydomain.com spf
Type Domain Name TTL Record
TXT mydomain.com 86400 "v=spf1 a mx ~all"

Record: "v=spf1 a mx ~all"
Prefix Type Value Prefix Desc Description
dns lookup ns lookup mx lookup

Reported by ns1.myDNS.com on Saturday, August 29, 2009 at 10:56:45 AM

and using v=spf1 a mx ~all:

spf:mydomain.com spf
Type Domain Name TTL Record
TXT mydomain.com 86400 v=spf1 a mx ~all

Record: v=spf1 a mx ~all
Prefix Type Value Prefix Desc Description
+ a Pass Match if IP has a DNS 'A' record in given domain
+ mx Pass Match if IP is one of the MX hosts for given domain name
~ all SoftFail Always matches. It goes at the end of your record.
dns lookup ns lookup mx lookup

Reported by ns1.myDNS.net on Saturday, August 29, 2009 at 10:50:57 AM


So, which is the right one??

TIA
 
Back
Top