What SPF and DMARC do
SPF is a DNS record that lists the services allowed to send email for your domain. DMARC tells receiving mail servers what to do with messages that fail the checks, and sends you reports about who is sending as your domain.
Together they stop criminals sending convincing mail in your name and help your real mail reach the inbox. Gmail and Yahoo now expect them from anyone who sends in bulk.
A safe way to roll them out
Publish SPF with a soft fail ending, and DMARC with p=none and a report address. Read the reports for a few weeks, make sure every legitimate sender passes, then move DMARC to quarantine and finally reject.
After publishing, run the SPF, DKIM and DMARC checker on your domain to confirm the records are found and within the DNS lookup limit.
Related guides
Frequently asked questions
Where do I add these records?
In the DNS settings of the company that hosts your domain’s DNS, often your registrar, hosting provider or Cloudflare. Add each as a TXT record with the host shown in the result.
Can I have more than one SPF record?
No. A domain must have a single SPF record. If you already have one, replace it with the new value or merge the services into one record.
Do I also need DKIM?
Yes. DMARC passes when either SPF or DKIM passes and lines up with your domain, so turn on DKIM signing in each email service. They give you the key to publish.
Read-only: we request public pages the way a visitor would. Private and internal addresses are blocked, and nothing you enter is stored.
Want this running on every page, every day?
UrKavach monitors security, uptime, speed and SEO for every website you manage.
