Home
/
Email Marketing
/
Configure an SPF record for SiteGround Email Marketing

Configure an SPF record for SiteGround Email Marketing

For users who manage their domain’s DNS zone outside of SiteGround – use this guide to add new or edit existing SPF records in your DNS Zone to optimize the deliverability of your Email Marketing service.

Note! For all domains whose DNS zone is managed by SiteGround, the SPF record is automatically configured. If you would like to have your domain optimized for Email Marketing automatically, point your domain’s DNS zone to SiteGround’s Central DNS.

Configure the SPF Record

In a nutshell, you need to add the directive “include:_spf.emsnd.net” to the SPF record in your DNS zone. How you add this include directive depends on whether or not you already have an existing SPF record.

NOTE: If you have an existing SPF record, it’s very important you follow the steps below correctly when editing it. This will ensure you are not affecting other services that are already reliant on it.

NOTE: Back up your original SPF record before making changes so you can revert to it if necessary.

How to check if you already have an existing SPF Record

  1. Access Your DNS Settings: Log in to your DNS provider’s management console, where your current DNS records are hosted.
  2. Locate DNS Settings: Find the section where you can manage your DNS records. This might be called “DNS Management,” “DNS Records,” “Advanced DNS,” or something similar.
    An external DNS zone editor to add an SPF record
  3. Locate the SPF Record: Look for a TXT record that starts with “v=spf1”. This is your domain’s SPF record. If you don’t find such a TXT record, you have to create a new TXT SPF record.
    An existing SPF record in an external DNS zone editor
  4. Add the Email Marketing SPF “include” directive: Depending on whether you have an existing SPF record or not, follow the relevant steps below.

Adding an SPF record when you do not have an existing one

If you do not have an existing SPF record, all you need to do is follow these steps to create one.

  1. Once in your DNS Settings, look for an option to add a new DNS record. You will be creating a record of type TXT.
    How to create a new TXT record for Email Marketing's SPF


  2. In the Name/Host/Alias field, enter @ or leave it blank (this represents the root of your domain). If you do not have the option to enter @ or leave blank, enter the domain name for which you are configuring the SPF.
  3. Set the TTL (time to live) to 3600 seconds or 1 hour.
  4. In the Value/Text/Content field, enter the SPF record as provided:
    "v=spf1 include:_spf.emsnd.net ~all”
    SiteGround Email Marketing's SPF in an external DNS zone editor

Editing an existing SPF record

To modify an existing SPF record with the required include directive, follow these steps:

  1. Find the existing SPF record and choose to edit it.
    How to edit an existing SPF record in an external DNS editor
  2. In the Value/Text/Content field, add include:_spf.emsnd.net before the “all” mechanism.
    How to add the include directive for SiteGround Email Marketing in an existing SPF record
  3. Do not change the symbol in front of your all mechanism unless you explicitly intend to do that. The possible combinations, one of which you should already be using, are:
    • ~all
    • -all
    • +all
  4. Ensure there are no spaces in the record except for separating mechanisms and modifiers.
  5. Save Changes: After editing, save the changes to update the record. It may take some time for the changes to propagate across the internet.
    How to save changes to the SPF record

What if I already have an “include” statement in my SPF record?

That’s not a problem. You can have multiple include statements in your SPF record. Simply add include:_spf.emsnd.net alongside the existing ones, separated by spaces.

Here is an example of what a completed SPF record with two include statements would look like:

"v=spf1 include:_spf.emsnd.net include:sendgrid.net ~all"

Will editing my SPF record affect my email deliverability?

Properly editing your SPF record should improve or maintain your email deliverability by authorizing SiteGround Email Marketing to send emails on behalf of your domain.

How can I check if my SPF is set up correctly?

DNS changes can take up to 48 hours to propagate fully, but they often take effect much sooner. You can use this online SPF Record Checker tool to check if your SPF record has propagated correctly.

Online SPF checker tool

What should I do if I encounter issues after updating the SPF record?

If you experience delivery issues or other problems after updating your SPF record, review the record for any typos or syntax errors. Use an online SPF Record Checker to identify errors and easily fix them.

SPF errors detected in an online SPF checker

If the problems persist, consider consulting with your DNS provider or seek assistance from the technical support team on our helpdesk page.

Exploring SPF in Detail

SPF (Sender Framework Policy) is a vital part of email management. It is an SPF record that defines the allowed hosts who can send on behalf of your domain. Learn more in this tutorial on what an SPF record is and why it’s important.

Learn more about DMARC records

DMARC is another type of email authentication that can increase the deliverability of your email campaigns. If you would like to learn more about DMARC records, check out our dedicated guide on what a DMARC record is.

Set up DMARC

If you have successfully set up your SPF record, make sure to also set up DMARC to optimize deliverability. For more information, read this guide on how to set up a DMARC record.

Share This Article