See,
https://en.wikipedia.org/wiki/Sender_Policy_Framework for the basic
syntax
How you would add them to DNS would depend upon your DNS provider.
The general format is something like: v=spf1 mx -all
v= defines the version of spf used (spf1 in this case)
mx means hosts listed in your MX records are valid senders
-all means everyone else isn't a valid sender
You only need to list the servers that can send mail to other domains
from your domain. So a computer that only sends messages to MDaemon
which it then delivers them to the outside world doesn't need to be on
the list, only the MDaemon machine would need to be. If you use your ISP
or another party as smart host, you will need to have their IP addresses
on your lists. There are provisions to include the policy of another
domain (include:example.com) in your spf record for that case. When
making the record, also consider other independent processes that may
generate email from your domain.
Jay Tolbert
Dickerson Engineering, Inc.
On 5/24/2019 1:09 PM, Andrius Karpas wrote:
> How to create SPF dns record , how it should look like, can anyone
> explain me this.