Email authentication error
DKIM selector not found: why the key lookup fails and how to fix it
When a message carries a DKIM signature, the receiving server looks up the public key in DNS to check it. The signature names the key using a selector, and if nothing is published at that name the check fails with a message such as selector not found, no key for signature or key not found. Your mail is not altered, but it loses one of the two proofs that DMARC relies on.
By Kyle Deligny, Titanos, Brisbane. Last reviewed 1 December 2026. General information, not legal advice.
This page explains how the selector turns into a DNS name, the usual reasons the two do not match, and how to confirm the fix. The format comes from RFC 6376, the DKIM standard.
How a selector becomes a DNS name
Each DKIM signature has two tags that matter here: d= names the signing domain and s= names the selector. The receiver joins them in the form selector, then the text _domainkey, then the domain, and asks for the TXT record at that name. For selector mail1 on example.com.au, the name is mail1._domainkey.example.com.au.
Selectors let one domain run several keys at once, for example one per sending service. That is useful, and it is also why the error is so common. Each service has its own selector, and each needs its own record.
The usual causes
The record was never published. A service gives you the key and the name, and the step of adding it to DNS is missed or left half done. The record sits in the vendor's setup screen and nowhere else.
The name was entered wrongly. Some DNS hosts add your domain to the end of whatever you type, so typing the full name produces a doubled domain. Others expect the full name. A selector with a typo, or an underscore replaced by a hyphen, gives the same result.
The record type is wrong. Many services ask for a CNAME that points to a key they host, rather than a TXT record that contains the key. Publishing a TXT where a CNAME was expected, or the reverse, means the vendor cannot rotate the key for you and may leave the lookup empty.
The record was removed. A tidy-up of old DNS entries can take out a selector that is still in use. Mail signed with that selector then fails until the record returns.
The mail is signed with a domain you do not control. If a third party signs with its own d= domain, the key is theirs to publish, and the failure belongs to them.
How to find the right name
Open a real message that failed, view the original headers and find the DKIM-Signature line. Read the d= and s= values. Build the name as described above, then look up its TXT or CNAME record with any DNS lookup tool. If the answer is empty, the record is missing or mistyped. If it returns a record starting with v=DKIM1, the selector is fine and the fault is elsewhere, such as a body hash mismatch.
Compare the result with the setup screen of the sending service, which shows the exact name and value it expects.
After the fix
DNS changes take as long as the old record's time to live to spread. Once the lookup works, send a test to an outside mailbox and read the Authentication-Results header for dkim=pass with your domain. Then check that the passing domain matches your From domain, because DMARC needs alignment as well as a pass. If you run your own key, keep a short register of selectors, which service uses each and when it was created.
Fix a DKIM selector not found error
- Open a failing message and copy its DKIM-Signature header.
- Note the d= domain and the s= selector exactly.
- Build the name as selector._domainkey.domain and look it up in DNS.
- Check whether the sending service expects a TXT record or a CNAME.
- Compare the name and value with the service's own setup screen.
- Check your DNS host does not add your domain to the name a second time.
- Add or correct the record and keep the old one until the new one works.
- Wait out the record's time to live, then send a test message.
- Confirm dkim=pass and that the d= domain matches your From domain.
- Record every selector and its owner in a shared note.
Questions people ask
What is a DKIM selector?
It is a label in the DKIM signature that tells the receiver which key to fetch from your DNS. It lets one domain publish several keys, usually one for each sending service.
Can I choose any selector name?
Usually the service sets it. If you run your own signing, RFC 6376 lets you pick any name made of valid DNS label characters. Choose one that says what it is for, such as the service name and year.
Will a missing selector bounce my mail?
Not by itself. The DKIM result is a fail or permerror, and what happens next depends on your DMARC policy and on whether SPF passes and aligns.
Should the record be a CNAME or a TXT?
Follow the service. Many publish a CNAME so they can rotate keys for you. Others give you a TXT value to paste in.
Where to from here
The free privacy policy audit reads your published privacy policy against the Australian Privacy Principles and tells you what is missing. Privacy Care keeps your policy and your shopper data practices current for AU$149 a month, with a 3-month minimum. Would it be okay if we showed you what the audit finds? A no is welcome.
Sources
- RFC 6376, DomainKeys Identified Mail (DKIM) Signatures, sections 3.1 and 3.6.2.1
- ASD, how to combat fake emails
- RFC 7489, DMARC
General information, not legal advice. Laws and guidance change: check the linked primary sources and ask a qualified adviser about your own situation. Written by Kyle Deligny with AI assistance, last reviewed 1 December 2026. How we write and check: editorial policy.
