---
title: What is SPF and how to add the SPF?
description: Steps for setting up SPF
---

[Skip to content](https://support.econz.net/customer/what-is-spf-and-how-to-add-the-spf#main-content)

English

Show submenu for translations

[Customer portal](https://support.econz.net/portal?hsLang=en)

![logo.jpg\]](https://support.econz.net/hs-fs/hubfs/logo.jpg?height=40&name=logo.jpg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Customer portal](https://support.econz.net/portal)
- Go to Econz Website

 Go to Econz Website

 Hello. How can we help you?

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

1. [Help Center](https://support.econz.net/customer?hsLang=en)
2. [Google Workspace](https://support.econz.net/customer/google-workspace?hsLang=en)
3. [DNS Records](https://support.econz.net/customer/google-workspace?hsLang=en#dns-records)

# What is SPF and how to add the SPF?

## Steps for setting up SPF

SPF stands for Sender Policy Framework, which is an email authentication method that helps prevent email spoofing and phishing attacks. SPF allows domain owners to specify which IP addresses are authorized to send emails on behalf of their domain.

In G Suite, you can use SPF to specify which mail servers are authorized to send emails from your domain. This can help prevent unauthorized use of your domain in phishing or spamming attempts.

To use SPF in G Suite, you will need to create a DNS TXT record that specifies your SPF policy.

 Here are the general steps for setting up SPF in G Suite:

**Step 1:** Log in to your domain registrar or DNS provider and access your domain's DNS settings. (For example, the Domain registrar is Godaddy)

![](https://lh3.googleusercontent.com/Q29B38obzxi4TY8cg18R63ghW4Beq_jF0_9pX5pCos75ABrc6cmQ3fxo46_R6shvndB48C2j7RquzfSQ_q239OKXr7_fJy7GB5fExj6NK1BtRn_9sTwNscG143R2NfO5Au52Xnh624_FMK6bnazERGg)

**Step 2:** Domain -\> manage DNS 

![](https://lh3.googleusercontent.com/NLZ9jx4TkiNeLJi4yozaTUYPa2_Rzgcw3bh3oOWz8KU2O_mQBwRwZE6SHydKzk3xvWfFzyH1tIqtH84ogA-BhLu2Y50J-j0zwqMdi5AhQoVMndWxAMnAW7Lys-7sjvt2IOJskjrDS_k0q73ylF_u_ps)

**Step 3:** Add New Record

![](https://lh4.googleusercontent.com/dIMisYA8Qpp4FunVxiLOHB3pGmIfzJg2o3I5XXDxvHbCItkvDkP5NA7ylBpX7i8DRJeF_FR0gLWYpg9i9oSTFUsfWinHh5qNcKeCuFXafJgC26za_72QnIfvg2I2IIREnTsjcgdZDZrvC1LzjrO3AGw)

**Step 4:** Create a new DNS TXT record for your domain.

![](https://lh3.googleusercontent.com/f6U0RCAQgkr4h8qlISVVxeu22bDG9ED_c-UU9ETXMwBgNZzYtg5BJwjTscX84q5rBcPHV8Ql8HSNNLrUQ3Wj-B7iDUZqIkhw2kNp3GAw-5UDeTEgxZJtsNOCoI1RbxQ6T2--IMEEhI5zp3GXWBLQgOI)

**Step 5: -\>** Select txt as a “**Type”**

**-\>**  In the “**Name”** field @

Note: If you're adding an SPF record for a subdomain, enter the subdomain instead of @.

**-\>**  In the value "Value" field, enter your SPF policy, which specifies which IP addresses are authorized to send email from your domain. You can use the G Suite SPF record as a starting point: "v=spf1 include:\_[spf.google.com](http://spf.google.com/) ~all" 

**-\> TTL** =  1 hour or 3600 Seconds

![](https://lh6.googleusercontent.com/RjS1xofHQg5fR1kRg85s2_SjkPChi9KPkJmD7xWiZc3IgHOmO-iBWC5sbW-CVJvXG5eUX9HP6TkSkUfGOWYCHTnQZIybzko-qrKhpGNIr0Xe_IaYnD1KcOnskgkebDwjv1yTqI3nuUdnl2iKVJg-dqA)

**Step 5:** Save the DNS record.

Once you have set up your SPF record, email servers that receive messages from your domain will check the SPF record to ensure that the message is coming from an authorized source. If the message fails the SPF check, it may be marked as spam or rejected entirely.

It's important to note that setting up SPF is just one step in securing your domain's email. It's also recommended to use other email authentication methods, such as DKIM and DMARC, to further improve email security.

Please find the below Google article for your reference.

[https://support.google.com/a/answer/10684623?hl=en#add-record](https://support.google.com/a/answer/10684623?hl=en#add-record)

- [Google Workspace](https://support.econz.net/customer/google-workspace?hsLang=en#main-content)

    - [Reset and recover passwords](https://support.econz.net/customer/google-workspace?hsLang=en#reset-and-recover-passwords)
    - [Email issue](https://support.econz.net/customer/google-workspace?hsLang=en#email-issue)
    - [catch-all address](https://support.econz.net/customer/google-workspace?hsLang=en#catch-all-address)
    - [Download Google Data](https://support.econz.net/customer/google-workspace?hsLang=en#download-google-data)
    - [Gmail](https://support.econz.net/customer/google-workspace?hsLang=en#gmail)
    - [MX Records](https://support.econz.net/customer/google-workspace?hsLang=en#mx-records)
    - [Company Logo](https://support.econz.net/customer/google-workspace?hsLang=en#company-logo)
    - [Sharing drive files to the trusted domains](https://support.econz.net/customer/google-workspace?hsLang=en#sharing-drive-files-to-the-trusted-domains)
    - [Mobile Device Management](https://support.econz.net/customer/google-workspace?hsLang=en#mobile-device-management)
    - [Restrict emails based on a size](https://support.econz.net/customer/google-workspace?hsLang=en#restrict-emails-based-on-a-size)
    - [Create Google Calendar Event](https://support.econz.net/customer/google-workspace?hsLang=en#create-google-calendar-event)
    - [less secure app](https://support.econz.net/customer/google-workspace?hsLang=en#less-secure-app)
    - [Drive & Docs](https://support.econz.net/customer/google-workspace?hsLang=en#drive-docs)
    - [Users](https://support.econz.net/customer/google-workspace?hsLang=en#users)
    - [Install GCPW](https://support.econz.net/customer/google-workspace?hsLang=en#install-gcpw)
    - [Add email aliases for user from google admin console](https://support.econz.net/customer/google-workspace?hsLang=en#add-email-aliases-for-user-from-google-admin-console)
    - [Set up Google Workspace user signatures in Gmail](https://support.econz.net/customer/google-workspace?hsLang=en#set-up-google-workspace-user-signatures-in-gmail)
    - [Add or remove printers](https://support.econz.net/customer/google-workspace?hsLang=en#add-or-remove-printers)
    - [New updates to Google Workspace](https://support.econz.net/customer/google-workspace?hsLang=en#new-updates-to-google-workspace)
    - [DNS](https://support.econz.net/customer/google-workspace?hsLang=en#dns)
    - [DNS Records](https://support.econz.net/customer/google-workspace?hsLang=en#dns-records)
    - [Admin roles](https://support.econz.net/customer/google-workspace?hsLang=en#admin-roles)
    - [Security](https://support.econz.net/customer/google-workspace?hsLang=en#security)
    - [Forms & Surveys](https://support.econz.net/customer/google-workspace?hsLang=en#forms-surveys)
    - [password](https://support.econz.net/customer/google-workspace?hsLang=en#password)
    - [Calendar](https://support.econz.net/customer/google-workspace?hsLang=en#calendar)
    - [Google vault](https://support.econz.net/customer/google-workspace?hsLang=en#google-vault)
    - [har file](https://support.econz.net/customer/google-workspace?hsLang=en#har-file)
    - [Cloud Data Sync](https://support.econz.net/customer/google-workspace?hsLang=en#cloud-data-sync)
    - [LDAP](https://support.econz.net/customer/google-workspace?hsLang=en#ldap)
    - [Routing](https://support.econz.net/customer/google-workspace?hsLang=en#routing)
    - [Data Migration](https://support.econz.net/customer/google-workspace?hsLang=en#data-migration)
    - [Organizational Unit(OU)](https://support.econz.net/customer/google-workspace?hsLang=en#organizational-unitou)
    - [License and subscription](https://support.econz.net/customer/google-workspace?hsLang=en#license-and-subscription)
    - [GWSMO](https://support.econz.net/customer/google-workspace?hsLang=en#gwsmo)
    - [Report and Audit](https://support.econz.net/customer/google-workspace?hsLang=en#report-and-audit)
    - [SMTP](https://support.econz.net/customer/google-workspace?hsLang=en#smtp)
    - [GWMME](https://support.econz.net/customer/google-workspace?hsLang=en#gwmme)
    - [password sync](https://support.econz.net/customer/google-workspace?hsLang=en#password-sync)
    - [Google Sites](https://support.econz.net/customer/google-workspace?hsLang=en#google-sites)
    - [Google services](https://support.econz.net/customer/google-workspace?hsLang=en#google-services)
    - [jamboard](https://support.econz.net/customer/google-workspace?hsLang=en#jamboard)
    - [Google Add-ons](https://support.econz.net/customer/google-workspace?hsLang=en#google-add-ons)
    - [GCPW](https://support.econz.net/customer/google-workspace?hsLang=en#gcpw)
    - [Keep](https://support.econz.net/customer/google-workspace?hsLang=en#keep)
    - [outlook](https://support.econz.net/customer/google-workspace?hsLang=en#outlook)
    - [Devices](https://support.econz.net/customer/google-workspace?hsLang=en#devices)
    - [Apps](https://support.econz.net/customer/google-workspace?hsLang=en#apps)
    - [Spam, phishing, and malware](https://support.econz.net/customer/google-workspace?hsLang=en#spam-phishing-and-malware)
    - [Windows](https://support.econz.net/customer/google-workspace?hsLang=en#windows)
    - [Meet Hardware](https://support.econz.net/customer/google-workspace?hsLang=en#meet-hardware)
    - [user settings](https://support.econz.net/customer/google-workspace?hsLang=en#user-settings)
    - [Google takeout](https://support.econz.net/customer/google-workspace?hsLang=en#google-takeout)
    - [Chrome Device Management](https://support.econz.net/customer/google-workspace?hsLang=en#chrome-device-management)
    - [networks](https://support.econz.net/customer/google-workspace?hsLang=en#networks)
    - [Chrome Enterprise Management](https://support.econz.net/customer/google-workspace?hsLang=en#chrome-enterprise-management)

[![](https://support.econz.net/hs-fs/hubfs/econz%20logo.png?width=600&height=164&name=econz%20logo.png)](http://econz.cloud)

Help Center

Copyright © 2026, Econz IT Services Pvt Ltd