What is SPF Record?
An SPF record is a type of Domain Name Service (DNS) record that identifies which mail servers are permitted to send an email on behalf of your domain.
SPF records are typically defined using the TXT record type. There is also an SPF record type, however, it is deprecated and thus you should always have at least the TXT record definition present, even if you use the SPF type.
What is the purpose of an SPF record?
The purpose of an SPF record is to prevent spammers from sending messages forged from addresses at your domain. Recipients can refer to the SPF record to determine whether a message purporting to be from their domain comes from an authorized mail server.
If your domain does not have an SPF record, some recipient domains may reject messages from your users because they cannot validate that the messages come from an authorized mail server.
If you’ve already set the SPF record for your domain, it means that you have set Google’s servers in the SPF records.
What is SPF record example?
SPF records are define as a single string of text. Here is an example record:
v=spf1 a mx ip4:192.168.0.20 include:_spf.google.com ~all
The SPF record always starts with the v= element. This indicates the SPF version that is use. Right now the version should always be spf1 as this is the most common version of SPF that is understood by mail exchanges.
How to set SPF records of your domain into the CWP panel?
Just follow the below few steps to set the SPF Record of your domain under the CWP panel:
Login to your CWP panel by using port: 2030
url: https://server ip:2030
Go to the Email section under your Login CWP panel. You will find their SPF manager, just click on it.
Once you will click on SPF manager it will provide the below screen for SPF setup.
Just select your domain in the drop down, and mention the server IP. After filing detail just click on Add SPF Record. Using the above step we can set Your domain SPF Record, under the CWP panel.
To verify the SPF Record. Just go to DNS Function >> List DNS zone >> click on edit your domain DNS zone. You will see add the bottom of your DNS zone file your domain SPF Record has been added in txt format.
Frequently Asked Questions
Q1. Why do I need an SPF record?
SPF is a standard email authentication method. SPF helps shield your domain from spoofing and keeps receiving servers from flagging your outgoing communications as spam. The mail servers that are authorized to send an email for your domain are listed in SPF.
Q2. How do I fix my SPF record?
Examine the servers and services in your SPF record. Take the actions in Verify if you already have an SPF record. Make sure your SPF record includes all servers and senders that currently send email for your domain. Any new sender information needs to be updated in your SPF record.
Q3. How long can an SPF record be?
The Domain Name System (DNS) has a 255 character string limit for Sender Policy Framework (SPF) records. If your SPF record contains a string that is longer than 255 characters, the SPF authentication check will fail.