- Home
- Free tools
- SPF, DKIM and DMARC checker
SPF, DKIM and DMARC checker
Run this SPF DKIM DMARC checker on your domain name and find out in seconds whether someone can send emails in your name. You get an A to F grade, the records found, the number of SPF DNS lookups and, for every weak point, the exact fix to apply.
- A to F grade out of 100 points
- 24 DKIM selectors tried
- SPF lookups counted

Your domain under the microscope, in six points
The checker reads your domain's public records, checks them one by one and calculates a protection grade.
A to F grade
A score out of 100 points that sums up your level of protection. Each weakness takes points away according to the risk, from a simple SPF with ~all to a complete lack of DMARC.
SPF and DNS lookups
A single record expected, a final rule read and explained, and the number of DNS lookups calculated by following your providers' includes, out of the 10 allowed.
DKIM keys
A search for the public key under 24 common selectors or under the one you enter, an estimate of its size and detection of revoked or too short keys.
DMARC policy
Policy none, quarantine or reject, share of messages covered, subdomain rule and reporting address. A malformed record is flagged straight away.
MX servers
The list of servers that receive your emails, sorted by priority. A domain with no MX, or with a null MX that refuses all mail, is clearly identified.
Bonus protections
Presence of MTA-STS, TLS-RPT reporting and a BIMI record. These additional protections, which strengthen encryption and brand image, are shown in green when they exist, and never lower your grade.
Check SPF, DKIM and DMARC in four steps
Enter the domain
A domain name, an email address or a link: the tool extracts the domain and removes the www prefix automatically.
Specify the selector
Optional: enter your DKIM selector if it is unusual. Otherwise, the tool tries 24 common selectors on its own.
Read the grade
The gauge gives the overall grade, then each section details SPF, DMARC, DKIM, MX and bonus items with colour codes.
Fix and test again
Apply the advice in your DNS zone, wait for the update, then run the test again or share the link to the result.
SPF DKIM DMARC checker: what are we talking about?
An email is like a letter whose envelope anyone can fill in. The SMTP protocol, designed in the early 1980s, does not check that the displayed sender is really the one sending. So nothing stops a stranger from writing “From: management@your-company.com” from their own server. Three records published in your domain's DNS fill this gap. An SPF DKIM DMARC check consists of reading these three records, checking that they are written correctly and measuring the level of protection they offer together.
SPF: who is allowed to send
SPF (Sender Policy Framework, RFC 7208) is a TXT record placed at the root of the domain. It lists the servers authorised to send emails on your behalf: your mailbox provider, your newsletter tool, your invoicing software. It ends with a rule that applies to all other servers. The server receiving a message compares the sender's IP address with this list.
DKIM: a signature on every message
DKIM (DomainKeys Identified Mail, RFC 6376) adds a cryptographic signature to the header of every email. The public key used to verify it is published in the DNS, under a name of the form selector._domainkey.your-domain.com. The selector is just a word chosen by your provider. If the message is altered on the way, the signature no longer matches.
DMARC: the rules of the game and the reports
DMARC (RFC 7489) links the two previous mechanisms to the address the recipient actually sees, the one in the “From” field. It requires the domain validated by SPF or DKIM to match this displayed domain: this is alignment. It also tells mail providers what to do with a message that fails, and which address to send reports to. The record is published under _dmarc.your-domain.com.
Why test SPF, DKIM and DMARC on your domain
The first reason is the safety of the people you correspond with. Fake supplier fraud, the fake transfer request from the CEO or the altered invoice often start with an email that seems to come from a familiar address. If your domain has no enforced DMARC, a fraudster can use it as is to deceive your customers, your partners or your own employees. They are the ones who suffer the consequences, and it is your name that gets damaged.
The second reason is deliverability. The big mail providers take authentication into account to decide whether a message lands in the inbox or in the spam folder. Since February 2024, Gmail and Yahoo have required SPF or DKIM from all senders, and all three mechanisms from those sending more than 5,000 messages a day to their users. Microsoft announced comparable requirements for Outlook.com in 2025. A poorly configured domain therefore sees its legitimate emails filtered, even if it is never spoofed.
The third reason is visibility. Without DMARC reports, you do not know who is sending in your domain's name. The reports reveal both forgotten sending sources (a website form, an old piece of software) and spoofing attempts. Finally, testing your domain regularly lets you spot a regression: an SPF overwritten during a hosting change, a DKIM key deleted by mistake, a DMARC set back to monitoring and never re-enabled.
How to use the SPF, DKIM and DMARC checker
The checker simply reads public information in the DNS. It never connects to your servers and never sends any email. Here is how to use it:
- Enter the domain. You can paste a domain name, a full email address or even a link to your website: the tool keeps only the domain, removes the www prefix and converts accented names into their technical form.
- Add a DKIM selector if you know it. If you leave it blank, the tool tries 24 common selectors, including
selector1andselector2(Microsoft 365),google(Google Workspace),default,k1,s1ormail. It stops as soon as it has found three keys. - Run the check. The result appears within seconds with an overall grade, then one section per mechanism.
- Share the link if needed. The page address contains the tested domain: send it to your provider or your web host so they see exactly the same diagnosis.
To prevent abuse, each visitor can run 30 checks per 10-minute period. The same result is reused for 5 minutes: if you have just fixed a record, wait a little before running the test again.
Understanding the A to F grade
The grade starts at 100 points. Each weakness takes away a number of points proportional to the risk it creates. The heaviest deductions concern missing DMARC and SPF, because they are what leave the door open to spoofing.
| Finding | Points deducted |
|---|---|
| No DMARC record | 35 |
No SPF, or SPF with +all | 30 |
| Several SPF records | 25 |
DMARC with p=none | 20 |
SPF with ?all or more than 10 DNS lookups | 15 |
| No DKIM key found | 10 (15 if you entered the selector) |
| No MX server | 10 |
DMARC with quarantine, pct below 100, no rua address, short DKIM key | 5 each |
SPF with ~all | 3 |
The letter follows from the total: A from 90 points, B from 75 to 89, C from 60 to 74, D from 40 to 59 and F below that. A domain graded A has a correct SPF, a DMARC at reject with a reporting address and at least one strong DKIM key. The additional protections in the “Bonus” section never take points away.
Reading each part of the result
Each section shows the records found, with a button to copy them, then a list of colour-coded findings: green for what is compliant, orange for what deserves attention, red for what exposes the domain. When something is missing, a “What to do” box explains the steps to follow.
The SPF section
The tool checks that there is a single record starting with v=spf1, then reads its final rule. -all rejects servers that are not listed, ~all marks them as suspicious, ?all gives no instruction and +all authorises the whole world. It then counts the DNS lookups by following your providers' includes, several levels deep, and shows you the total out of the 10 allowed.
The DMARC section
It shows the policy (none, quarantine or reject), the share of messages covered if the pct tag is below 100, the subdomain policy if an sp tag exists and the address that receives aggregate reports. A record that does not start with v=DMARC1 or has no p tag is flagged as malformed.
The DKIM section
For each key found, the tool shows the selector and estimates the key size. An RSA key of 1024 bits or less is flagged as short: 2048 bits are recommended. Ed25519 keys are recognised. A key whose p value is empty is revoked, which happens after a key rotation.
The MX and Bonus sections
The MX section lists the servers that receive your emails, in order of priority, and recognises a null MX (a domain that declares it receives no mail). The Bonus section shows whether MTA-STS, TLS-RPT reporting and a BIMI record are present. For a detailed analysis of these protections, use our MTA-STS, TLS-RPT and BIMI checker, and for details of your receiving servers, the MX record lookup.
Common SPF DKIM DMARC errors and how to fix them
- Two SPF records. This is the most common error after adding a new service: a second TXT is created instead of completing the first one. The standard then requires a permerror result and both are ignored. Merge them into one, with all the mechanisms in a row and a single final rule. Our SPF generator helps you rewrite it cleanly.
- More than 10 DNS lookups. Each include, a, mx, ptr, exists or redirect costs one lookup, and your providers' includes often contain more. Remove abandoned services, replace a and mx with ip4 or ip6 addresses when they are stable, or move some sending to a dedicated subdomain.
- No DKIM key found. Either DKIM is not enabled at your provider, or it uses an unusual selector. Open an email sent from your domain, look for the
DKIM-Signatureheader and note thes=value: that is your selector. Our email header analyzer finds it for you. - DMARC missing or stuck at p=none. Create the record with the DMARC generator, starting with monitoring and a reporting address. Read the reports for a few weeks, then move up to quarantine and reject.
- Fix not showing. You changed a record but the test still shows the old one. DNS servers keep answers in memory for the duration set by the TTL. Follow the update with the DNS propagation tool.
Once the records are fixed, send a real message to our email test: it shows how a receiving server judges SPF, DKIM and DMARC on a real message, signature included.
Checking SPF, DKIM and DMARC manually
You can check the same records from a terminal. On Linux or macOS, the dig command queries the DNS directly:
dig +short TXT example.com
dig +short TXT _dmarc.example.com
dig +short TXT selector1._domainkey.example.com
dig +short MX example.comOn Windows, the nslookup command gives the same result:
nslookup -type=TXT _dmarc.example.comA well protected domain returns, for example, these two values:
"v=spf1 include:spf.protection.outlook.com -all"
"v=DMARC1; p=reject; rua=mailto:dmarc@example.com"The manual test shows the raw record, but it calculates neither the number of DNS lookups, nor the DKIM key size, nor the overall grade. That is exactly what the checker does. To query other record types, or choose the resolver used, our DNS lookup tool shows all the answers in plain text.
After the test: really protecting your email
SPF, DKIM and DMARC protect your name when others use it. They do not filter the emails you receive. A domain graded A can still receive phishing from a lookalike domain, a booby-trapped attachment or a message from a supplier whose mailbox has been hacked. Complete protection therefore rests on two pillars: configuring your own records correctly, and filtering incoming mail before it reaches your mailboxes.
For the part that depends on you, a simple routine is enough:
- Keep an up-to-date list of all the services that send with your domain, with the person responsible for each one.
- Enable DKIM wherever possible, including on newsletter and invoicing tools, with 2048-bit keys.
- Have your DMARC reports read every week during the ramp-up, then every month once at reject.
- Also protect your subdomains and your inactive domains, which are often forgotten and therefore easy to spoof.
Get into the habit of running the test again after every change of provider, web host or sending tool, and at least once a quarter. Keep a record of your entries in a shared document, with the date and reason for each change. And if your DMARC reports seem unreadable, know that they can be turned into clear tables, service by service. Passmundi does it for you, as well as filtering spam, viruses and phishing: discover our email protection plans or browse all our free tools.
Email records at a glance
| Record | Name in the DNS | Role |
|---|---|---|
| SPF | example.com | Servers authorised to send |
| DKIM | selector._domainkey.example.com | Public signing key |
| DMARC | _dmarc.example.com | Rule on failure and reports |
| MX | example.com | Receiving servers |
| MTA-STS | _mta-sts.example.com | Encryption enforced on receipt |
| BIMI | default._bimi.example.com | Logo shown in mail apps |
SPF, DKIM and DMARC checker: your questions
How do I check a domain's SPF, DKIM and DMARC records?
Enter the domain in the checker above. It reads the public records, shows the SPF, the DMARC, the DKIM keys found and the MX servers, then calculates an A to F grade. Each weak point comes with an explanation and a fix. You can also use dig or nslookup, but you will only get the raw values, with no analysis.
What is the difference between SPF, DKIM and DMARC?
SPF lists the servers allowed to send for your domain. DKIM signs each message to prove that it comes from you and has not been altered. DMARC checks that one of the two matches the address shown to the recipient, says what to do on failure and sends you reports. The three are complementary: DMARC only works if SPF or DKIM is in place.
How is the A to F grade calculated?
The grade starts at 100 points. Missing DMARC takes away 35 points, missing SPF 30, two SPF records 25, a DMARC at p=none 20, and so on down to an SPF with ~all, which takes away 3 points. A means 90 points or more, B 75, C 60, D 40 and F below that. Bonus protections never lower the grade.
Why is no DKIM key found when DKIM is enabled?
The key is published under a selector chosen by your provider. The tool tries 24 common selectors, but some services use a unique name. Open an email sent from your domain, look for the DKIM-Signature header and note the s= value. Then enter it in the selector field and run the test again.
Should I use -all or ~all in my SPF record?
With a DMARC at quarantine or reject, ~all is enough and avoids abrupt rejections if a legitimate service has been forgotten, because DMARC makes the decision. Without DMARC, -all offers more protection. In any case, avoid ?all, which gives no instruction, and above all +all, which allows any server to send in your name.
Is DMARC p=none enough?
No, it is only the starting point. With p=none, mail providers block nothing: they send you reports on what passes or fails. This phase is used to identify all your legitimate sending services over a few weeks. Real protection starts with quarantine, which sends fakes to the spam folder, and above all with reject, which refuses them.
What does “more than 10 DNS lookups” mean for SPF?
The SPF standard limits to 10 the number of DNS lookups needed to evaluate a record. Each include, a, mx, ptr, exists or redirect costs one, and your providers' includes often add more. Beyond 10, the SPF is in error and many recipients treat it as a failure. The tool does the full count for you.
How long does it take for a fix to show in the test?
As long as it takes for DNS caches to expire, which depends on the TTL of the old record: often a few minutes, sometimes a few hours. For its part, the checker reuses the same result for 5 minutes. If the old record still appears, wait and run the test again. The DNS propagation tool shows where the update is already visible.
My domain does not send emails, should I publish SPF and DMARC?
Yes, it is even recommended. An inactive domain is an easy target for spoofing, because nobody watches what is sent in its name. Publish an SPF that authorises no server, v=spf1 -all, and a DMARC at p=reject. You can also publish a null MX to indicate that the domain does not receive mail.
Do Gmail and Yahoo require SPF, DKIM and DMARC?
Since February 2024, Gmail and Yahoo have asked all senders for SPF or DKIM authentication. Those sending more than 5,000 messages a day to their users must have all three, including a published DMARC, at least at p=none, aligned with the sending address. Microsoft announced comparable rules for Outlook.com in 2025.
Is the SPF, DKIM and DMARC checker free?
Yes, completely. The test is free, with no sign-up and no email address to provide. You can check as many domains as you like, within the limit of 30 checks per 10-minute period, a rule that protects the service against bots. The link to the result can be freely shared with your provider.
Does the checker keep the domains tested?
The test only reads public DNS information, without ever connecting to your servers. The result is cached for 5 minutes to avoid repeating the same queries, then deleted by an automatic clean-up. Your IP address is only used, in an encrypted and irreversible form, to apply the check limit. No history is built up.
All our free tools, in one place
25 free tools, no sign-up needed, to check your email, your domain and your website. Each one gives a clear result and the steps to follow.
Email and deliverability 10
An A to F grade for your domain, with the exact fix to publish for each issue.
Free domain security check: SPF, DKIM, DMARC, MTA-STS, blacklists, certificate and lookalike domains. Get an A to F grade and fixes ready to copy.
- A to F grade in 20 to 40 seconds
- Fixes ready to copy
- Free weekly monitoring
Send a message to a test address and get a score out of 100: authentication, reputation, content.
Open the toolWhere your mail arrives, in what order, and whether it goes through a filter before your inbox.
Open the toolYour DMARC record in one minute, with the right policy to get started safely.
Open the toolA correct SPF built from your sending services, without exceeding the ten lookup limit.
Open the toolPaste a message's headers: route, delays and authentication checks translated into plain English.
Open the toolEncryption enforced between servers, TLS reports, brand logo and DNSSEC in a single test.
Open the toolIs your IP address or domain on anti-spam lists? Thirteen lists checked.
Open the toolA professional signature in six steps, compatible with every mail app.
Open the toolDomains and DNS 6
All of a domain's records, A, MX, TXT, NS, CAA and the rest, on the resolver of your choice.
- Every record type
- A choice of seven public resolvers
- Explanations for each value
Is a change already visible everywhere? The answer from nineteen resolvers around the world.
Open the toolThe name associated with an IP address, checked in both directions, just as mail servers do.
Open the toolRegistrar, creation and expiry dates, name servers and status of a domain or an IP.
Open the toolNames close to yours that are already registered, which fraudsters could use against your customers.
Open the toolAccented domains and the xn-- form, in both directions, with detection of misleading characters.
Open the toolWebsites and security 8
An A to F grade, Core Web Vitals, image-by-image loading and advice, on mobile and desktop.
- Google metrics and server analysis
- Request waterfall and page weight
- PDF report to share
Cookies before and after consent, banner, providers and a GDPR register ready to publish.
Open the toolValidity, issuer, chain, names covered and expiry date of a certificate, on any port.
Open the toolThe redirect chain of an address and the grade of its security headers.
Open the toolYour public IP address, IPv4 and IPv6, its name, its operator and its country.
Open the toolDownload and upload speed, latency and jitter of your connection, measured live in your browser.
Open the toolRanges, masks, subnets and number of addresses of an IPv4 or IPv6 network.
Open the toolStrong passwords and passphrases, created in your browser, never sent.
Open the toolMigration and handy tools 1
Copy all the messages from one mailbox to another, folders and dates included, without deleting anything.
Open the toolA domain graded A protects your name, not your mailboxes
SPF, DKIM and DMARC stop people from writing in your name. Passmundi also filters the mail you receive: spam, viruses, phishing and CEO fraud, with DMARC reports that are finally readable.