01What is DKIM?
A signature scheme for email. The sending server signs each message with a private key, and receivers fetch the matching public key from DNS to verify that the message was not altered and really comes from the signing domain.
Enter a selector and a domain, and we query the key record live at <selector>._domainkey.<domain> — the exact name receivers build from a DKIM signature.
A signature scheme for email. The sending server signs each message with a private key, and receivers fetch the matching public key from DNS to verify that the message was not altered and really comes from the signing domain.
The namespace label that lets one domain publish many keys at once. In any received message, open the full headers and read the s= value in the DKIM-Signature header; the d= value next to it is the domain. RFC 6376 builds the query name as <selector>._domainkey.<domain>.
Because without it there is no DNS name to query — the key does not live at the bare domain. There is also no reliable way to enumerate selectors; guessing common ones proves presence when it hits, but never absence.
Revoked, not broken. RFC 6376 section 3.6.1: an empty p= value means this public key has been revoked. The record existing with an empty key is a deliberate signal that signatures made with it must no longer verify.
Only p= (the key) is required. v=DKIM1 is recommended as the first tag; k= defaults to rsa; t=, s=, h= and n= are optional refinements. A record that is just v=DKIM1; p=<key> is complete.
DKIM is one of the three email-authentication legs, so the natural next checks are the domain’s SPF record and its DMARC policy. A signed message still has to read well when it arrives, so you can check the signature itself for weight and contrast.