What is SPF Analyzer?
Once you enter your domain name in the SPF Record Lookup tool, it will give you a list of server IP Addresses and other domains that are authorized to send emails for your domain name.
What is the SPF Record?
SPF stands for Sender Protection Framework. It helps to authenticate your emails on the recipient email server. Also, the SPF record prevents spammers from sending emails using your domain name. You can add your authorized email server IP Addresses and hostname within the SPF record.
Example of SPF Record :
"v=spf1 mx a ip4:184.108.40.206 include:spf.mandrillapp.com ~all"
Structure of SPF Record :
||It means the record is an SPF record.
||Allow domains listed MX to send emails for this domain.
||Allow domains listed IP Addresses to send emails for this domain.
||IP addresses in CIDR format that deliver or relay mail for this domain
||This mechanism authorizes the domain/hostname spf.mandrillapp.com to send an email for this domain.
||all instruct the incoming email server to SOFTFAIL, or flag email sent from an unauthorized source.
(ALL) mechanism in SPF Record
Below are the four all methods for the SPF record. SPF records must have all mechanisms to indicate what is needed to be done with the emails that fail to authenticate.
- +all (plus all -- all the email passes)
- ?all (question all -- failed message was a test message)
- ~all (soft fail all)
- -all (hard fail all -- only the mentioned IP Addresses are authorized to send mail for this domain.)
Why do you need an SPF record for your domain?
SPF record will add a layer of security to your domain. It contains the IP Addresses and hostname that are authorized to send emails on behalf of your domain.
When you send an email, the recipient mail server will verify your email with the domain's SPF record using DNS lookup. If the SPF is passed successfully, there will be more chance of delivering your emails to Inbox instead of spam.
Email without an SPF record may land in spam, or some recipient email server can directly block emails, so your domain should have an SPF record to mitigate such an issue.