How to Check SPF, DKIM and DMARC: Complete Email Security Audit
A technical guide to configuring Sender Policy Framework, DomainKeys Identified Mail, and DMARC alignment to ensure inbox deliverability.
Audit Domain SPF, DKIM & DMARC
Test your domain or IP address in real time with our free online network scanner.
Table of Contents
Modern email deliverability is governed by cryptographic authentication. Without valid SPF, DKIM, and DMARC records, major providers like Gmail, Yahoo Mail, and Outlook will reject your transactional and marketing emails or dump them into spam folders.
The Holy Trinity of Email Authentication
- SPF (Sender Policy Framework): A TXT record specifying which server IPs and third-party relays are authorized to transmit mail using your domain in the
Return-Path. - DKIM (DomainKeys Identified Mail): A public-key cryptographic signature added to message headers that verifies content integrity during transit.
- DMARC: A policy record directing receiving mailboxes what to do with unauthenticated messages (
p=none,p=quarantine, orp=reject).
Frequently Asked Questions
Why does my SPF record fail the 10-DNS-lookup limit?
RFC 7208 limits SPF evaluations to 10 recursive DNS lookups (includes 'include', 'a', 'mx', 'redirect'). If you include too many third-party services (Google Workspace, Mailchimp, Zendesk, Salesforce), your SPF will return PermError. You must flatten your SPF record.
Can I have multiple SPF records for one domain?
NO. Publishing more than one SPF TXT record on a single domain causes an immediate PermError failure. All authorized senders must be consolidated into a single TXT record starting with v=spf1.