How to Setup SPF Record for Your Business Email

Do your business emails reach your customers without beiong marked as spam?. This step-by-step guide will help check your SPF record and with setting up SPF record for email delivery using free online tools.
Total
0
Shares
New email notification on top of keyboard.
New email notification on top of keyboard.

Making sure your emails reach your customers and aren’t marked as spam is something that many business owners miss when getting things set up. One way to help your email delivery is to configure SPF (Sender Policy Framework) records.

Here’s a simple guide to help you test and create SPF records for your business using free online tools.

Step 1: Testing if You Have an Existing SPF Record

Screenshot 2024 07 28 at 11. 45. 39 am
How to setup spf record for your business email 7

Were going to use this websites domain as an example for how to set up SPF records. Up to the writing of this article, peterzendzian.com has not had any email capabilities. I mean, I really don’t send bulk email from this domain yet but it’s a good example of how to get your own domain SPF confgiured properly.

  1. Go to SPF Record Checker:
  2. Enter Your Domain Name:
    • In the search box, enter your domain name (i’m using peterzendzian.com).
  3. Analyze the Results:
    • Click the SPF Record Lookup button.
    • If you see a result starting with v=spf1, you have an existing SPF record. If not, you don’t have one, or it’s incorrect. Remember, even if you see a result, it doesn’t mean it’s correct. We’re only looking to see if one exists.

Example:

Our test for peterzendzian.com shows that there is no SPF record set up, so we will need to configure the SPF record.

Screenshot 2024 07 28 at 11. 45. 48 am
How to setup spf record for your business email 8

Step 2: Create an SPF Record

Believe it or not, this part looks complex but it’s pretty simple. The concept is straightforward. By creating an SPF record, we’re telling mail servers on the internet who can send email from our domain. This helps prevent someone from pretending to be us by spoofing our email.

Before We Begin:

• You’ll need your domain name.

• Identify the devices allowed to send email for the domain.

• Decide what to do if the receiving mail server doesn’t confirm the source of the email.

  1. Go to SPF Record Generator:
  2. Enter Your Domain Name:
    • In the domain field, enter your domain name.
  3. Add Email Servers:
    • Identify the mail servers that send emails on behalf of your domain. These could include your web hosting provider, email marketing service, or corporate mail servers.
    • For our example, we are using SendGrid for sending email from a wordpress site that does not have a mail server.
  4. Generate the SPF Record:
    • Click the Generate SPF Record button.
Screenshot 2024 07 28 at 11. 54. 34 am
How to setup spf record for your business email 9

A simple SPF record is generated.
v=spf1 include:sendgrid.net -all

Screenshot 2024 07 28 at 11. 54. 51 am
How to setup spf record for your business email 10

Step 3: Adding the SPF Record to Your DNS

Up to this point, we were just testing and making configurations that had no impact on the domain name or DNS records. The steps that we are going to perform next will have an impact on the delivery of your email. It’s okay to need some help now. But for our example, we are only using SendGrid to send mail and no other mail servers.

How you update your DNS records will be different based on where and how your DNS is managed. So, while it may seem obvious, were not going to cover how to update your DNS records here, but instaed just a short overview of this part of the process.

  1. Log in to Your DNS Management Console:
    • Go to the website where your domain is registered (e.g., GoDaddy, Namecheap, Cloudflare).
    • Log in to your account and navigate to the DNS management section.
  2. Create a SPF Record:
    • Look for an option to add a new record. Select TXT as the record type.
    • In the Name field, enter @ (or leave it blank if using Cloudflare).
    • In the Value or Text field, paste the SPF record you generated, in our example, the SPF record is:
      • v=spf1 include:sendgrid.net -all
  3. Save the Changes:
    • Save or apply the changes to update your DNS settings.

Step 4: Verifying the SPF Record

  1. Wait for DNS Propagation:
    • DNS changes can take a few minutes to 48 hours to propagate. Some DNS providers like enom and godaddy may take longer to see publicly.
  2. Re-Test Your SPF Record:
    • Go back to EASY DMARC SPF lookup tool.
    • Enter your domain name and click SPF Record Lookup.
    • Ensure the new SPF record appears correctly.

Example SPF Records

  • For Google Workspace:v=spf1 include:_spf.google.com -all
  • For Microsoft 365:v=spf1 include:spf.protection.outlook.com -all
  • For Multiple Providers:v=spf1 include:_spf.google.com include:spf.protection.outlook.com -all

Troubleshooting Common Issues

  1. SPF Record Too Long:
    • If your SPF record exceeds 255 characters, use the include mechanism to break it up.
  2. Too Many DNS Lookups:
    • SPF records are limited to 10 DNS lookups. Simplify your record if you exceed this limit.
  3. Syntax Errors:
    • Double-check your SPF record for typos or incorrect syntax. Use the SPF validator on MXToolbox to confirm it’s correct.

Conclusion

Configuring SPF records is the first step in securing your business email and ensuring your messages reach your customers. By following these steps and using free online tools, you can easily set up and verify your SPF records. But your journey is just starting.

Screenshot 2024 07 28 at 12. 13. 09 pm
How to setup spf record for your business email 11

As you can see, we still have DMARC and DKIM records that need to be set up.

If you need any help with email deliverabilty issues for your domain name, please let me know or head on over to ZZ Servers where my team can take care or your email deliverability needs.

Leave a Reply

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

Sign Up for My Newsletter

Get notified when I post more of my mind with the internet.

You May Also Like