List of Help Articles

How to Add an SPF Record to Your DNS Settings for Email Security

Learn the essential steps to add an SPF record to your DNS settings through cPanel. This guide helps you bolster email security against spoofing and spam classification.

Introduction

This comprehensive guide walks you through the step-by-step procedure to add an SPF (Sender Policy Framework) record to your DNS settings. By doing so, you fortify your email against spoofing and minimize the chances of legitimate emails being classified as spam.

Section 1: Add SPF Record to Your DNS Settings

Login to cPanel: To start, you need to access your cPanel account. You can do this by appending '/cpanel' to your domain name (e.g., https://<your-domain-name>/cpanel) or via the link provided by our Support Team. Use your username and password to log in , as illustrated in Figure 1 below.

Figure 1: cPanel Login Screen
Figure 1: cPanel Login Screen

You will land on the dashboard page upon successful login, as illustrated in Figure 2 below.

Figure 2: cPanel Dashboard Screen
Figure 2: cPanel Dashboard Screen

Look for the DNS Zone Editor tool under the Domain section, as illustrated in Figure 3 below.

Figure 3: cPanel DNS Zone Editor Section
Figure 3: cPanel DNS Zone Editor Section

You will land on the zone editor list page, as illustrated in Figure 4 below.

Figure 4: cPanel DNS Zone Editor List Screen
Figure 4: cPanel DNS Zone Editor List Sreen

Click on the Add Record button drop-down arrow and click Add ”TXT” Record, as illustrated in Figure 5 below.

Figure 5: cPanel DNS Zone Editor List Screen
Figure 5: cPanel DNS Zone Editor List Screen

A new form will open and you need to use the form to add a TXT record that contains the information from the Google Workspace website, as illustrated in Figure 6 below.

Figure 6: cPanel DNS Zone Editor TXT Record Add Screen
Figure 6: cPanel DNS Zone Editor TXT Record Add Screen

Enter the below details and click on the Save Record button as illustrated in Figure 6 above.

Name TTL Record
@ or (Your Domain Name) 3600 v=spf1 include:_spf.google.com ~all

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

After adding the SPF record at your DNS setting it can take up to 48 hours for SPF authentication to start working.

Conclusion

Congratulations, you have successfully added an SPF record to your DNS settings via cPanel. This will fortify your email security by protecting against spoofing and reducing the likelihood of emails being marked as spam.