How to Set Up an SPF Record for Google Workspace
Published in
How To
•
May 2, 2025
Are the emails you send with Google Workspace going to spam?
It could be that you haven’t set up your SPF record.
Without an SPF record, your emails are more likely to be marked as spam.
Since emails in the spam folder don’t convert, you’re directly hurting your bottom line by not having an SPF record set up.
The good news?
After reading this post, you’ll know exactly how to set up an SPF record for Google Workspace.
What is SPF?
SPF stands for Sender Policy Framework. It has, therefore, nothing to do with sunscreen ;-)
Instead, SPF is an email authentication method that lets you specify what email servers can send emails on your domain’s behalf.
If an email claims to be coming from your domain but the sending server is not in your SPF record, it will fail SPF authentication. When that happens, the email may be sent to spam or not delivered at all.
💡See a “sending server” as the tool you send emails with or your email service provider. In this context, it’s Google Workspace’s sending server. ;-)
This authentication protocol can prevent phishing attacks and other cybercrimes. In short, it makes your emails more secure.
Internet service providers love this added layer of security.
The result?
Better inbox placement for your emails and potentially more meetings booked and revenue generated.
Good deal, huh?
What’s an SPF record?
An SPF record is a DNS record you add to your domain’s DNS settings.
It’s a little string of code that includes the sending servers of the tools you send email with.
Here’s an example:
v=spf1 include:youremailsendingtool.com -all
Usually, your email service provider (email-sending tool) will give you the exact SPF record to put in place.
But, if you use multiple servers to send emails, you must also include the additional servers in your SPF record (You can’t have multiple SPF records). You do so by simply adding multiple “includes”:
v=spf1 include:yoursendingtool.com include:secondsendingtool.net -all
Setting Up an SPF Record for Google Workspace
Configuring a Google Workspace SPF record for your domain involves four global steps. (We’ll give you more specific instructions in a minute.)
Check your domain’s existing SPF record
Get the SPF record for Google Workspace, usually: v=spf1 include:_spf.google.com ~all
Add the SPF record to your domain’s DNS records (or only Google’s sending server as an extra include)
Wait for a day and confirm your SPF record

How to configure an SPF record for Google Workspace on any domain provider
If your domain provider isn’t on the list below, follow these steps to set up an SPF record for any domain provider.
These steps aren’t as exact as those for specific domain providers, but they should help you get the job done.
When in doubt, ask your domain provider!
➡️ Log in to your domain provider’s account
➡️ Look for DNS or DNS settings
➡️ Check if there’s an existing SPF record
➡️ Now, click on Add, Add record, or similar
➡️ Choose TXT as the record type
➡️ Add @ to the name field
➡️ Add Google’s SPF record to the Value field: v=spf1 include:_spf.google.com ~all The Value field is sometimes called Text, Data, or Content.
➡️ Click save
How to set up a Google Workspace SPF record on GoDaddy
➡️ Log in to your GoDaddy account
➡️ Navigate to My Products and find your domain
➡️ Click on the DNS button
➡️ Go to the DNS Management page
➡️ Click on Add
➡️ Select TXT as the record’s Type
➡️ Add @ to the Name field
➡️ Add Google’s SPF record to the Value field: v=spf1 include:_spf.google.com ~all
➡️ Save your record
Adding a Google Workspace SPF record to Namecheap
➡️ Log in to your Namecheap account
➡️ Open the Domain List
➡️ Select your domain
➡️ Click on Advanced DNS
➡️ Create a New Record
➡️ Choose TXT as the record type
➡️ Add @ to the Host field
➡️ Add Google’s SPF record to the Value field: v=spf1 include:_spf.google.com ~all
➡️ Click the checkmark to save
Configuring a Google SPF record for Dreamhost
➡️ Log in to your Dreamhost account
➡️ Go to the Manage Websites page
➡️ Find your domain and open DNS Settings:
In Grid view: Click the three vertical dots below your domain, then click DNS Settings
In List view: Click the three vertical dots to the right of your domain, then click DNS Settings
➡️ Click on Add Record
➡️ Hover over the TXT record section and click on Add
➡️ Leave the Host field blank unless you’re adding the record for a subdomain
➡️ Add Google Workspace’s SPF record to the TXT Value field: v=spf1 include:_spf.google.com ~all
➡️ Click on Add Record to save
How to set up a Google Workspace SPF record on Cloudflare
➡️ Log in to Cloudflare
➡️ Pick your domain on the dashboard
➡️ Click on DNS
➡️ For Type, select TXT
➡️ Add @ to the Name field
➡️ Add this SPF record to the Value field: v=spf1 include:_spf.google.com ~all
➡️ Save your record
How to set up a Google SPF on Bluehost
➡️ Log in to your Bluehost account
➡️ Navigate to My Domains
➡️ Select your domain
➡️ Click on DNS
➡️Hit the Add New Record button
➡️ Select TXT as the record’s Type
➡️ Add @ to the Host or Name field
➡️ Add Google’s SPF record to the Value field: v=spf1 include:_spf.google.com ~all
➡️ Click Save
How to add a Google SPF record on OVHcloud
➡️ Go to your OVHcloud control panel
➡️ Navigate to My Products and Services
➡️ Click See All
➡️ Choose your domain
➡️ Go to the DNS Zone
➡️ Click Add an Entry
➡️ Choose TXT as the record’s Type
➡️ Paste Google’s SPF record into the Target field
➡️ Important: OVHcloud does not automatically append your domain to the SPF record. As such, you’ll have to add it manually. The final SPF Record should look something like this: yourwebsite.com TXT v=spf1 include:_spf.google.com ~all
➡️ Hit the Save button
Validating Your Google Workspace SPF Record
After saving your SPF record, it can take up to 72 hours for it to propagate.
But don’t worry; your new record usually becomes active in a few hours.
To check its status, use a DNS lookup tool like MXToolbox. It’s easy to use. Just add your domain, and then select SPF Record Lookup.
The results will tell you if you’ve configured your SPF record correctly.

Next Steps
Setting up your domain’s SPF is essential for better email deliverability.
It’s one of three essential email authentication protocols for boosting email security and inbox placement.
However, SPF is just one component of what’s known as your technical setup. You should also:
Set up your DKIM records
Set up your DMARC records
Configure your MX records
And set up your Custom Tracking Domain
Peter Jacobs
I never set out to be in sales—I’m a designer at heart. But when you build something from the ground up, like RogerRoger, you quickly learn that sales isn’t just a department; it’s part of every conversation, decision, and strategy.
My sales journey didn’t come from books or formal education. Instead, I dove headfirst into the world of selling by doing—running trial and error, getting feedback (sometimes hearing NO from a big prospect), and absorbing lessons from seasoned salespeople.
My letters are all about making sales feel a little more fun and human.