SPF, DKIM and DMARC problems: missing and conflicting records
SPF, DKIM and DMARC are DNS records that show mail servers which senders may use your domain. These checks find a missing SPF record, more than one SPF record, a missing DMARC record, a DMARC policy set to none, and the state of DKIM signing. Publish one SPF record that lists every sender, sign mail with DKIM, and add a DMARC policy for unsigned mail.
How the problem happens
Each new mail service adds its own SPF record instead of extending the existing one, a marketing tool sends mail without a DKIM key, or DMARC is published in monitoring mode and never tightened.
Why email authentication belongs in a website audit
Email authentication does not change how a page ranks. It matters to a website because the site depends on email: contact and order forms, password resets, receipts, newsletters and sales replies all leave from your domain. Three DNS records decide whether receiving mail systems trust that mail. SPF lists the servers allowed to send for the domain, DKIM adds a signature that proves a message was not altered, and DMARC tells receivers what to do when neither SPF nor DKIM passes in alignment with the domain in the From address, and where to send reports.
Without them, genuine messages land in spam more often, and anyone can send mail that appears to come from your domain, which is the base of phishing that uses your brand. A lost order confirmation or a password reset that never arrives costs customers directly, and a phishing campaign in your name damages the trust that every other signal on your site is trying to build. Large mailbox providers now expect authentication from bulk senders, so the records are part of basic hygiene.
How to check email authentication by hand
Read the records with dig or any DNS lookup tool, as in the example. For SPF, query the TXT records of the bare domain and find the one that starts with v=spf1. There must be exactly one; two records make the check fail. See which senders it includes, and whether it ends with -all or ~all to say what happens with everything else. For DMARC, query the TXT record of _dmarc under your domain and read the p= policy and the rua= reporting address.
DKIM is harder to see from outside, because the record lives under a selector name chosen by the sending service, such as selector1._domainkey. Find the selector in the headers of a real message you sent to yourself, in the line that begins with DKIM-Signature and has s=, then query that name. Send a test message to a mailbox you control and read the authentication results in the full headers: SPF, DKIM and DMARC should each show a pass. Repeat for every service that sends mail for you, such as a newsletter tool or a shop platform.
; DNS TXT records for example.com (one SPF record only)
example.com. TXT "v=spf1 include:_spf.mailprovider.example -all"
_dmarc.example.com. TXT "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com"
sel1._domainkey.example.com. TXT "v=DKIM1; k=rsa; p=MIIBIjANBg..."
# read them back
dig +short TXT example.com
dig +short TXT _dmarc.example.comHow to fix email authentication records
Make a list of every system that sends mail as your domain: the mail provider, the website, the newsletter service, the invoicing tool, the support desk. Publish one SPF record that includes all of them, and no more, since a long chain of includes can exceed the limit of ten DNS queries and break. If you find two SPF records, merge them into one. End with a policy that rejects or soft-fails everything else when you are sure the list is complete.
Turn on DKIM signing in each sending service and publish the key it gives you at the selector name it shows. Then add DMARC, starting with p=none and a rua address so you can read the aggregate reports and discover senders you forgot. When the reports show that legitimate mail passes, move to p=quarantine and later p=reject. A policy of none only monitors and stops nothing, so it is a first step, not a goal. Make DNS changes carefully and one at a time, because a wrong record can send real mail to spam.
How RankDossier detects email authentication problems
RankDossier reads the DNS records of your domain. The checks in this family report a missing SPF record, more than one SPF record, a missing DMARC record and a DMARC policy of p=none, which only monitors. A further check reports on DKIM; because the selector name is chosen by the sending service and cannot always be discovered from outside, RankDossier shows this as information and does not claim that DKIM is absent when it cannot find the selector.
Each finding shows the record that was read. These checks describe the domain's DNS, not the content of any message. The guide to the website audit tool shows how DNS and mail checks appear next to page checks, the guide to reading an audit report explains how to order the fixes, the E-E-A-T guide covers why trust in a brand includes protecting it from impersonation, and the technical SEO audit guide places these records among the wider technical signals.
Wrong and right
Wrong
example.com. TXT "v=spf1 include:mail-a.example.net ~all"
example.com. TXT "v=spf1 include:mail-b.example.net ~all"
(no _dmarc record)
Right
example.com. TXT "v=spf1 include:mail-a.example.net include:mail-b.example.net ~all"
_dmarc.example.com. TXT "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com"
How to fix it
WordPress
WordPress does not control these records. Send site mail through an authenticated mail service, and ask your DNS provider or host to publish the records the service gives you.
Next.js
These records live in DNS, not in the code of the site. Check them with a DNS lookup, and send mail from the app only through a provider that signs it.
# These are DNS records, not site code. Check them from a terminal:
dig +short TXT example.com
dig +short TXT _dmarc.example.com
Nginx
Nginx has no part in mail authentication. Publish the TXT records at your DNS provider, then query them from a terminal to confirm that exactly one SPF record exists.
# DNS, not Nginx: publish the records at your DNS provider
dig +short TXT selector1._domainkey.example.com
Check codes in this family
These checks belong to this family. Each code appears in the audit report with its own explanation and fix.
EMAIL_SPF_MISSINGSPF record is missingEMAIL_SPF_MULTIPLEMultiple SPF recordsEMAIL_DMARC_MISSINGDMARC is missingEMAIL_DMARC_NONEDMARC is p=noneEMAIL_DKIMDKIM email signing
Related check families
Read the full guide How to choose a website audit tool and fix SEO issues with it for the wider picture.
Check your own site
Enter a domain – the free pre-check reads up to 10 pages and shows how many types of problems it finds. You pay only if you want the full report.
Start the free pre-check