DKIM, or DomainKeys Identified Mail, is an email authentication method that uses a cryptographic signature to help receiving mail servers verify that a message was signed by the claimed sending domain and that signed parts of the message were not changed after signing.
Instead of relying only on the visible From address, DKIM adds a signature to the message. The receiving server retrieves the matching public key from the sender's DNS and uses it to verify that signature.
DKIM works alongside SPF and DMARC as part of a complete email authentication setup. It helps receiving servers verify message authenticity, detect certain types of message changes, and reduce the risk of domain spoofing.
What Does DKIM Stand For?
DKIM stands for DomainKeys Identified Mail.
It is an email authentication protocol based on public-key cryptography. A sending mail system uses a private cryptographic key to create a DKIM signature, while the matching public key is published through the sending domain's DNS.
The receiving mail server uses that public key to verify the signature.
A simplified flow looks like this:
Sending server → DKIM signature → Recipient's mail server → DNS lookup → Signature verification
If the signature verifies successfully, the receiving system has evidence that the message was signed by the domain identified in the DKIM signature and that the signed content was not changed in a way that invalidated the signature.
How Does DKIM Work?
DKIM works through two connected pieces: a private key held by the sending system and a public key published in DNS.
The sending server creates a cryptographic signature using the private key. That signature is added to the email's DKIM-Signature header.
The header tells the receiving server how to locate and verify the signature. Two important values are:
d= identifies the signing domain.
s= identifies the DKIM selector.
The receiving server uses those values to look for the matching public key in DNS.
A typical lookup follows this structure:
selector._domainkey.example.com
For example, if the signing domain is example.com and the selector is s1, the receiving server may look up:
s1._domainkey.example.com
The DNS record provides the public cryptographic information needed to verify the signature.
What Is an Example of DKIM Authentication?
Suppose a company sends an email from:
The company's mail provider signs the message using its private cryptographic key.
The message leaves the sending system with a DKIM header similar to:
DKIM-Signature:
d=example.com;
s=mail;
...
The recipient's mail server sees:
d=example.com
and:
s=mail
It then looks for the public DKIM record at:
mail._domainkey.example.com
If the public information successfully verifies the signature, the receiving server can record:
dkim=pass
This does not prove every detail about the sender. It means the DKIM signature successfully validated against the signing domain and the signed message data.
How Do You Check If DKIM Is Working?
There are two main ways to check DKIM.
You can inspect an actual email's authentication results or look up the DKIM record published in DNS.
How Can You Check DKIM From Gmail?
Open the email and view its full headers.
In Gmail, choose More and then Show original.
Look for:
Authentication-Results:
A successful result may include:
dkim=pass
You can also inspect the DKIM-Signature header and look for:
d= for the signing domain
s= for the selector
These values help identify the DNS record used during verification.
How Can You Check a DKIM Record in DNS?
To check the published DKIM configuration directly, you normally need:
The signing domain
The DKIM selector
For example:
Domain:
example.com
Selector:
The lookup target becomes:
mail._domainkey.example.com
A valid result should point to the public information used to verify DKIM signatures for that selector.
If you do not know the selector, inspect the DKIM-Signature header of an email sent from the domain and find the value after s=.
What Happens If You Don't Have DKIM?
Without DKIM, receiving providers cannot verify a DKIM signature for your domain because there is no DKIM signing setup to check.
The effect depends on:
email provider
sending volume
SPF configuration
DMARC policy
sender reputation
recipient behaviour
message characteristics
For organisations that send email at scale, missing authentication can become a deliverability problem.
A properly configured combination of SPF, DKIM, and DMARC gives receiving systems more information to verify legitimate mail.
Why Choose EmailGuard for DKIM Checks?
EmailGuard brings several email authentication and deliverability checks into one platform.
For DKIM, you can use the DKIM Lookup tool to inspect the published record for a domain and selector. This helps you confirm whether the expected DKIM configuration is available and identify common record problems.
EmailGuard also provides DKIM generation tools for domains that need to create a new DKIM setup.
Because DKIM works together with other authentication standards, EmailGuard also includes tools for:
SPF checks
DMARC lookup
DMARC generation
DMARC monitoring
blacklist checks
email testing
inbox placement testing
This is useful when a DKIM problem is only one part of a wider authentication or deliverability issue.
Instead of looking at DKIM alone, you can review the broader email setup and identify whether SPF, DMARC, blacklist status, or delivery performance also needs attention.
What is DKIM in simple terms?
DKIM is an email authentication method that adds a cryptographic signature to outgoing messages. Receiving servers use a public value published in DNS to verify the signature.
What does DKIM stand for?
DKIM stands for DomainKeys Identified Mail. It is an email authentication protocol that uses cryptographic signatures to help verify messages from a signing domain.
What does a DKIM record look like?
A typical DKIM record is published at selector._domainkey.domain.com and contains DKIM information such as v=DKIM1, the cryptographic type, and the public value used for verification.
What is a DKIM selector?
A DKIM selector identifies which published DKIM record belongs to a particular signature. It appears in the s= field of the DKIM-Signature header and forms part of the DNS lookup address.
How do I check my DKIM record?
You can inspect an email's authentication headers for a dkim=pass result or use EmailGuard's DKIM Lookup with your domain and selector to check the published DNS record.
How do I find my DKIM selector?
Open the full headers of an email sent from your domain and find the DKIM-Signature header. The value after s= is your DKIM selector.
Is DKIM the same as SPF?
No, SPF identifies authorized sending sources, while DKIM verifies a cryptographic signature attached to the message. Both are separate email authentication mechanisms.
Is DKIM enough for email authentication?
No, DKIM is one part of email authentication. SPF and DMARC provide additional controls and should be configured as part of a broader authentication setup.
Does DKIM guarantee inbox placement?
No, a DKIM pass does not guarantee that an email will reach the inbox. Receiving providers also consider reputation, sending behavior, recipient engagement, content, complaints, and other signals.
What should I do if DKIM fails?
Check the selector, DNS record, signing configuration, and message headers first. Confirm that the public value matches the signing system and investigate any mail service that may modify signed content.