The Summer Savings Have ARRIVED – Get Up to 60% Off Our Managed WordPress Hosting

Trying to figure out where to start?

We can help with every step of the process.

Get a beautifully designed WordPress website.

High Performance, WordPress Optimized, Backed by Humans.

Manage your domain with FREE ID Protection.

What is SPF and How Does It Affect You?

Last Updated on 

March 3, 2024


Ryan T. M. Reiffenberger

Email deliverability on the internet is a complicated process when approaching it from a technical standpoint. As the internet has grown over the last two decades, we have seen a large increase in spam emails as more people gain access to more and more resources. To combat the sending of malicious or spam emails, the Global DNS Infrastructure has adapted special techniques and strategies to help senders and receivers be able to verify that the person sending is indeed who they say they are.

According to DMARC Analyzer:

“An SPF record (Sender Policy Framework record) is the core of an SPF implementation in which the SPF policy is defined. An SPF record is published in the DNS (Domain Name Service) and it contains a list of authorized email servers which can send email on behalf of your domain name. If an email sender isn’t listed in the record section and does send email on behalf of your domain this email may be considered as not legitimate and can be rejected by the email receiver.”

SPF records are only one part of the multi-step process of identifying senders on the internet. When used in combination with DMARC and DKIM records, it can provide adequate protection against most known email threats. There are more things that you can do, but this article will be kept simple for the purposes of education.

How To Decipher an SPF Record

Let’s take a look at this SPF record and utilize it for the purposes of explaining the next part.

v=spf1 ip4: include:micro.soft -all
|____| |__________________| |___________________| |__________| |________________| |__|
1      2                    3                     4            5                  6

SPF Records are typically stored within a TXT record in text format. Within the single line of text, there are multiple parts that tell servers what your preferences are. Each part of the record above is denoted by a number, and we review each piece below.

1 | Version
This part defines the record as an SPF record. All SPF Records MUST start with this. There used to be a second version of SPF created by Microsoft, however it was discontinued.


There are several different ‘options’ or mechanisms that control what you can tell other servers about your email preferences.

2 | a: 
Define the DNS A record of the current (or specified) domain as a valid sending source.

3 | mx:
Define the DNS MX record of the current (or specified) domain as a valid sending source.

4 | ip4:
Define this IPv4 address (or address range) as valid sending sources.


5 | include:
Include the SPF record for this domain as valid sending sources.


6 | -all / ~all / all
You can define a policy for ‘all other sources’ using the ‘all’ mechanism. You should place this at the end of your SPF record providing a ‘default’ for other sources. Use a qualifier to define the policy you want to apply.



A few things to note about SPF records is that you can have only a maximum of 10 lookups (requests) in your record. Additionally, it is always recommended to have only one SPF record per domain/subdomain to ensure that the proper information is being delivered to other servers.


Need Some Help With Your Website?

We offer free consultations on any projects, as well as guidance and advice if you need help moving in the right direction. Drop us a line – we’d love to chat!

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission.

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents

Choose Your Destination



Please Note: These buttons may take you away from ( to another location on our infrastructure. You will be redirected upon click.

Want Periodic Guidance Delivered To Your Inbox?

Sign Up For FREE Updates To Our Blog as we release articles to ensure you’re up to date on the latest WordPress guides.

We never sell or share your information. Less than 2 emails sent per month.
By signing up you agree to our Privacy Policy.