To understand regarding SPF you’ve got to understand the operating method and for your info or to understand regarding SPF there are three steps explained below:
Step 1: What is SPF?
Step 2: How to Create SPF record?
Step 3: Tools to generate an SPF record?
Let us see the steps in Details:
Step 1: What is SPF?
SPF (Sender Policy Framework) is a validation process to stop spam, spoofing and common vulnerability. SPF record can verify the sender IP address to exchange mails / message . The administrator will apply rules to permit the authentic IP address to send mails on behalf
Spammers keep eye on open relay mail servers to avail it for sending spam mails to focus on audience with a forged from address on behalf your domain. SPF is a DNS record related to a domain that helps to stop unauthorized access to mail services.
Receiving domain verifies from SPF record to substantiate whether or not a message / mail originated from an authorized mail server. The Domain owners will not consider the importance of SPF record for mail exchange in result it opens the door to spammer and other vulnerability.
|“+”||Pass / accept||“+” Defines the host to be allowed to send|
|“-“||Fail / reject||“-” Defines the host not to be allowed to send|
|“~“||Soft Fail / accept but mark||“~” Defines the host not to be allowed to send|
|“?”||Neutral / accept||“?” Accept all, no validation is associated with it.|
1. Allow MX hosts of a domain to send mails on behalf , deny all others.
Create following DNS “TXT” record as shown below
“v=spf1 mx -all”
“v=spf1 mx ~all”Note : All MX record hosts are allowed to send mails on behalf and all other hosts are denied to send mails.
2. Allow series of IP range to send mails on behalf , deny all others
Create following DNS “TXT “ record as shown below
"v=spf1 ip4:18.104.22.168/16 -all"
Note : ip4 based IP range are allowed to send mail and all others are denied.
3. SPF record directives to use in syntax :
+a:mail.experts.com/32 +mx +ptr -all
Step 2 : How to Create SPF record?
- Login to Domain Control panel provided by your domain registrar .
- Invokes the page from where you can update the DNS records (Manage DNS)
- You may require to invoke advanced settings.
- Create a TXT record as shown below for more details refer above pages:
"v=spf1 a:mail.experts.com/27 -all"
Save your changes.
* DND records may take 48 Hours update across the internet
Step 3 : Tools to generate an SPF record?
Refer the below tools that will help you to generate spf record
Refer these URL’s to validate the SPF record status