How to merge SPF records?
If you’re using GetResponse alongside other email services (such as a corporate email provider), you might need to add more than one authorized sender to your domain’s SPF record.
However, your domain can have only one SPF record in its DNS zone.
If more than one SPF TXT record exists, SPF validation will fail and messages may not pass authentication checks.
If you need to authorize multiple services (e.g., GetResponse and your business email provider), you must combine all SPF mechanisms into a single record.
Before you begin
Get the required SPF record value from the Emails and domains section in your GetResponse account.
This article provides a step-by-step instruction on how to do it.
Understanding SPF record mechanisms
Let’s walk through how this works using an example where your domain already sends emails through Google Workspace and has the following SPF record in place:
v=spf1 include:_spf.google.com ~all
Now you want to authenticate your domain for sending campaigns via GetResponse, which requires adding another record:
v=spf1 mx a include:_spf.getresponse.com -all
Since you cannot add a second SPF record, you must merge them.
To understand how, let’s break down the components of an SPF record:
- Every SPF record starts with:
v=spf1prefix.
This identifies the TXT entry as an SPF record (version 1). Although you can have multiple TXT records in DNS, only one can containv=spf1. - The
amechanism by itself uses the A record (IP address) of the current domain. If you write a domain or hostname after it (likea:domain.com), it will use the A record (IP address) of that specific domain instead. This allows you to change the IP address in DNS without changing your SPF record. SPF will automatically use the updated IP address. - The
mxmechanism authorizes the mail servers listed in your domain’s MX records.
If your domain sends emails through its own mailbox server, this mechanism ensures those messages pass SPF. - The
includemechanism (eg:include:_spf.getresponse.com) allows another domain’s SPF policy to be incorporated into yours. In practical terms, when you add:include:_spf.getresponse.com, you are allowing all the sending IP addresses that are listed in_spf.getresponse.com. Similarly:include:_spf.google.comallows the IP addresses that Google has listed in its SPF record. - The
allmechanism: the SPF record must end with anallqualifier. It defines what should happen if a message does not match any authorized source. There are four available qualifiers:+all(not recommended, default, rarely used explicitly)?all– neutral (not recommended)-all– hard fail (not recommended, unauthorized emails are rejected)~all– soft fail (recommended, unauthorized emails are accepted but flagged)
Only oneallstatement can appear in an SPF record, and it must be at the end.
How to merge SPF records
Existing record (Google Workspace):
v=spf1 include:_spf.google.com ~all
Required GetResponse record
v=spf1 mx a include:_spf.getresponse.com -all
Here’s what you need to do to combine them:
- Keep the version prefix.
v=spf1 - Add all required mechanisms (without duplication).
If one of your records containsaormx, keep them. If both records contain them, include them only once.v=spf1 mx a - Add the new
includestatement for GetResponse and keepincludestatement for existing record.v=spf1 mx a include:_spf.google.com include:_spf.getresponse.com - Add a single
allmechanism. We strongly recommend using.~allv=spf1 mx a include:_spf.google.com include:_spf.getresponse.com ~all
And here’s the final record you want to replace your current record with:
v=spf1 mx a include:_spf.google.com include:_spf.getresponse.com ~all
Key rules to remember
- Only one SPF record per domain
- Only one
v=spf1 - Only one
allmechanism - Do not duplicate
a, ormxentries - Always verify your updated SPF record after DNS propagation
Properly merging SPF records ensures your emails sent via GetResponse and other services pass authentication checks, helping maintain deliverability and sender reputation.