---
title: How to setup SPF records in Google workspace
description: SPF record is an important DNS record to set when you are configuring your domain in Google Workspace. Read this to find out how to setup SPF records.
---

[Skip to content](https://help.cloudasta.com/how-to-setup-spf-records-in-google-workspace#main-content)

English

Show submenu for translations

[More support](https://help.cloudasta.com/kb-tickets/new?hsLang=en)

![](https://help.cloudasta.com/hubfs/cloudasta-and-google-partner-badge-2-1%20-2.svg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [More support](https://help.cloudasta.com/kb-tickets/new)
- Contact us

 Contact us

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Cloudasta Help Center](https://help.cloudasta.com/?hsLang=en)
2. [Google Workspace](https://help.cloudasta.com/google-workspace?hsLang=en)
3. [Gmail](https://help.cloudasta.com/google-workspace?hsLang=en#gmail)

# How to setup SPF records in Google workspace

SPF record is an extremely important DNS record to set when you are configuring your new domain in Google Workspace. By default, all email enabled domains i.e, the ones that are used for sending and receiving emails using MX records should have SPF records as well. SPF or sender policy framework record ensures the authenticity of the email. 

If you add an SPF record to your domain’s DNS, you tell email providers that Google Workspace is authorized to send emails on your behalf. 

#### How to setup SPF record for Google Workspace:

SPF records are set as TXT records on the domain’s DNS records, not on the Google Workspace console itself. Below are the steps to setup TXT records for your domain using Google Workspace on the DNS records:

Step 1: Sign in to your DNS hosting account

First, sign in to your domain's DNS hosting account where you manage your DNS records. You can find out where you manage your domain’s DNS records using a WHOIS lookup service.

Step 2: Go to DNS records

Find and go  to the DNS records for the domain you want to configure SPF records. This is the case when you might have multiple domains in your registrar. 

Step 3: Create a new TXT record

Add a new TXT record for your domain by clicking on the “Add Record” or find the appropriate option to add. 

Step 4: Enter SPF record

In the new TXT record, enter the following SPF syntax:

**v=spf1 include:\_spf.google.com ~all**

Note: You may need to modify this syntax based on your domain's specific requirements. More information on modifying the syntax can be found on the [official SPF website](http://www.open-spf.org/). For example, you might have other SMTPs or services that send emails on your domain’s behalf. 

Step 5: Save changes

Once you have entered your SPF record, save the changes to your DNS records. It may take some time for the changes to propagate across the internet depending on your TTL.

Step 6: Check your SPF record

To verify that your SPF record has been set up correctly, you can use a tool such as [MXToolbox](https://mxtoolbox.com/) or [Google Admin toolbox](https://toolbox.googleapps.com/apps/main/). 

- [Billing](https://help.cloudasta.com/billing?hsLang=en)
- [Google Workspace](https://help.cloudasta.com/google-workspace?hsLang=en#main-content)

    - [Google Contacts](https://help.cloudasta.com/google-workspace?hsLang=en#google-contacts)
    - [Google Drive](https://help.cloudasta.com/google-workspace?hsLang=en#google-drive)
    - [Reseller](https://help.cloudasta.com/google-workspace?hsLang=en#reseller)
    - [Google Workspace Updates](https://help.cloudasta.com/google-workspace?hsLang=en#google-workspace-updates)
    - [User Management](https://help.cloudasta.com/google-workspace?hsLang=en#user-management)
    - [Google Chat](https://help.cloudasta.com/google-workspace?hsLang=en#google-chat)
    - [Google Calendar](https://help.cloudasta.com/google-workspace?hsLang=en#google-calendar)
    - [Gmail](https://help.cloudasta.com/google-workspace?hsLang=en#gmail)
    - [Google Meet](https://help.cloudasta.com/google-workspace?hsLang=en#google-meet)
    - [Google Docs](https://help.cloudasta.com/google-workspace?hsLang=en#google-docs)
    - [Google Workspace Administration](https://help.cloudasta.com/google-workspace?hsLang=en#google-workspace-administration)
    - [Google sites](https://help.cloudasta.com/google-workspace?hsLang=en#google-sites)
    - [Google groups](https://help.cloudasta.com/google-workspace?hsLang=en#google-groups)
    - [Google Voice](https://help.cloudasta.com/google-workspace?hsLang=en#google-voice)
    - [Google Keep](https://help.cloudasta.com/google-workspace?hsLang=en#google-keep)
    - [Google Shared Drive](https://help.cloudasta.com/google-workspace?hsLang=en#google-shared-drive)
- [Support](https://help.cloudasta.com/support?hsLang=en)
- [Working with Cloudasta](https://help.cloudasta.com/working-with-cloudasta?hsLang=en)
- [Self-Service Migration](https://help.cloudasta.com/self-service-migration?hsLang=en#main-content)

    - [FAQs](https://help.cloudasta.com/self-service-migration?hsLang=en#faqs)
    - [Troubleshooting](https://help.cloudasta.com/self-service-migration?hsLang=en#troubleshooting)
    - [Post-Migration](https://help.cloudasta.com/self-service-migration?hsLang=en#post-migration)
    - [Get Started](https://help.cloudasta.com/self-service-migration?hsLang=en#get-started)
    - [Migrate](https://help.cloudasta.com/self-service-migration?hsLang=en#migrate)
- [Managed Migration](https://help.cloudasta.com/managed-migration?hsLang=en#main-content)

    - [Features & Limitations](https://help.cloudasta.com/managed-migration?hsLang=en#features-limitations)
- [Appsheet](https://help.cloudasta.com/appsheet?hsLang=en)
- [Duet AI](https://help.cloudasta.com/duet-ai?hsLang=en)

Copyright © 2026, Cloudasta Corp.