SPF record cPanel

Are you trying to set up SPF record in cPanel ?

This guide is for you.

An SPF record is a Sender Policy Framework record. It's used to indicate to mail exchanges which hosts are authorized to send mail for a domain. It's defined in RFC 4408, and clarified by RFC 7208.

Generally, we add SPF records in the DNS zone file to prevent the spoofing of the domain.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform SPF record related queries.

In this context, we shall look into how to configure SPF records in cPanel Control Panel.

Importance of SPF record in cPanel?

Here, you will learn the benefits of adding SPF records.

The act of interrupting a communication from an unknown source that pretends as a trusted source is Spoofing.

Spoofing gains access to the target's personal information and spreads malware through infected links and attachments. One major measure to address spoofing is to use SPF records.

A Sender Policy Framework or SPF record indicates which mail server has the authorization to send mail for a domain.

Adding an SPF record in the DNS zone file is the best way to stop spammers from spoofing the domain.

How to enable SPF record in cPanel ?

Setting up SPF records will reduce the chances of spoofing and thus saves the confidential information from being corrupted.

We add SPF record in the domain’s DNS zone file as a TXT record and it identifies authorized SMTP servers for the domain.

To enable SPF records in the cPanel:

1. Firstly, we need to login into the cPanel account.

2. Then, we select the 'Authentication icon' from the e-mail category.

3. A new window will open, there we need to choose the option to enable SPF records.

4. Then, we click on the 'Enable' option.

5. Finally, by clicking the 'Enable' option, we add SPF records to the DNS zone.

[Need urgent assistance to configure SPF records?- We're available 24/7 to help you. ]


This article will guide you on how to enable SPF record in #cPanel to reduce the chances of spoofing and thus saves the confidential information from being corrupted.

An #SPF (Sender Policy Framework) record is a type of TXT record in your #DNS zone file.

SPF allows email senders to define which #IP addresses are allowed to send mail for a particular domain.

To enable SPF record in cPanel:

1. Go to Add a record (or edit your #record if you already have one).

2. Name: enter the name of your #domain or subdomain used in your sender e-mail address.

3. TTL: enter 14400.

4. Type: select #TXT.

5. TXT Data: Enter your SPF record (e.g. v=spf1 a mx ~all)

6. Save your modifications.