1. Home
  2. Configuring a SPF Record in cPanel

Configuring a SPF Record in cPanel

After enabling a SPF record for the domain, you can configure it by going to Email Deliverability in cPanel » Manage » (SPF) Customize.

Configure/edit an existing SPF record.
Configure/edit an existing SPF record.

In the “Current “SPF” (TXT) Record” field you can view the record which is currently enabled for the domain.

In the “Suggested “SPF” (TXT) Record” field you can view an exemplary record, which is automatically generated by cPanel and it contains all recommended parameters.

Customize an SPF Record

Important: The SPF record is automatically generated for all hosting services at SuperHosting.BG. You only need to enable it. Read more on enabling SPF and DKIM verification for your domain in the article: Enable SPF and DKIM in cPanel (Email Deliverability).

Note: You can add a SPF record for each domain which is using the name servers of SuperHosting.BG, in cPanel » (Email) Email Deliverability.

To add more servers authenticated to send messages from your domain, you need to edit the existing SPF record. You do not need to add a second SPF record for the domain.

Additional IP Address Blocks (IPv4 / IPv6)

If you have the IP address of the outgoing mail server for the domain, you can add the IP in the Additional IP Address Blocks (IPv4 / Ipv6) field.

Additional IP Address Blocks (IPv4 / Ipv6)
IP addresses of mail servers/services, authenticated to send emails from the domain.

Include List (INCLUDE)

If you are sending emails through Google and Outlook, you can add Google and MS mail servers as authenticated to send emails for your domain by adding them to the Include List (INCLUDE):

include:_spf.google.com include:spf.protection.outlook.com
Include List (INCLUDE)
SPF records of mail servers/services, authenticated to send emails from the domain.

In INCLUDE you need to add a host, providing a SPF record. This record contains IP addresses of additional mail servers (in this case of Google and Outlook).

Preview of the Updated Record

After the changes are performed on the record settings, an exemplary SPF record will be generated in the field “Preview of the Updated Record”. Before saving the changes, you can check the exemplary record. You cannot perform changes on this field’s record as this is a preview of the record’s final version.

Save the record changes by clicking on Install a customized SPF record.

Configuring a SPF record through Zone Editor in cPanel

If you already have a SPF record, you can set it for the domain in cPanel » Zone Editor » Manage (for the domain) » TXT – Add TXT Record.

You can also change the whole SPF record in cPanel » Zone Editor » Manage (for the domain) » TXT (the record containing SPF) – Edit.

Zone Editor » Manage
Editing the TXT record (SPF record) through Zone Editor in cPanel.

Important: Please note that after performing changes on DNS records the standard propagation of the new DNS data requires some processing time. Processing time is what is set in the TTL field for that record before the changes were performed.

Updated on 02.11.2021
Was this article helpful?