How to fix: DKIM Record Missing
No DKIM public key record was found for this domain. DKIM (DomainKeys Identified Mail) cryptographically signs outgoing messages, allowing receivers to verify the signature has not been tampered with.
Why it matters
Without DKIM, your email messages have no cryptographic signature. DMARC alignment relies on either SPF or DKIM passing; without DKIM, SPF-only alignment is more easily broken by mail forwarding, weakening your overall protection.
DKIM (RFC 6376) adds a digital signature to outgoing email headers. The receiving server looks up the public key in DNS at <selector>._domainkey.<domain> and verifies the signature. A valid DKIM signature proves the message was sent by an authorized server and was not modified in transit.
How to fix it
- 1Generate a DKIM key pair in your mail server or ESP.
- 2Publish the public key as a TXT record at <selector>._domainkey.<domain>.
- 3Verify: dig +short TXT selector._domainkey.example.com
Code examples
DKIM DNS TXT record
google._domainkey.example.com. IN TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA..."Postfix + OpenDKIM
# Generate 2048-bit RSA DKIM key
opendkim-genkey -b 2048 -d example.com -s mail -t
# Publishes: mail._domainkey.example.comReferences
Detected automatically by VulnRadar. The check id is dkim-record, stable across every scan so you can filter or diff on it.
More email checks
- LowDMARC Forensic Report URI (ruf=) Missing
- MediumDMARC Aggregate Report URI (rua=) Missing
- MediumMTA-STS (SMTP Strict Transport Security)
- LowTLS-RPT Record Missing rua= Reporting URI
- HighSPF Exceeds 10 DNS Lookup Limit
- HighSPF Redirect Loop
- LowDMARC pct= Below 100
- MediumDMARC Policy Set to Monitor-Only (p=none)
Questions
- How severe is DKIM Record Missing?
- VulnRadar rates this low severity in the email category. The severity is fixed per check, not scored per site, so the same finding is the same severity on every scan.
- Does VulnRadar check for this automatically?
- Yes. It runs as part of every scan under the check id dkim-record, which stays the same between runs so you can filter, diff, or gate CI on it.
- Which standards does DKIM Record Missing map to?
- It maps to CWE-290. In the OWASP Top 10 it falls under A07:2021.
Missing a check?
The detection set is open. If you know a misconfiguration this does not catch, propose it: the issue template asks for the threat model, how to detect it, the false-positive risk, and a test fixture, which is the same thing a maintainer would have to work out anyway.