Minimum
RFC 6376 says signers must use RSA keys of at least 1024 bits for long-lived keys.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
DKIM (DomainKeys Identified Mail) signs each outgoing message with a private key and publishes the matching public key in DNS, so receivers can verify the message came from an authorized system and was not altered in transit. It is defined in RFC 6376.
The sending server hashes chosen headers and the body and signs the hash with its private key. The result goes into a DKIM-Signature header.
The header carries d= (signing domain) and s= (selector), which together say where to find the public key.
The receiver queries TXT at selector._domainkey.d-domain.
The receiver recomputes the hash and checks it against the signature. A match means the signed parts are unchanged.
The result appears as dkim=pass or dkim=fail in Authentication-Results.
| Tag | Meaning | Required |
|---|---|---|
| v | Version, must be 1 | Yes |
| a | Algorithm, such as rsa-sha256 | Yes |
| d | Signing domain | Yes |
| s | Selector | Yes |
| h | List of signed header fields | Yes |
| bh / b | Body hash and signature data | Yes |
| t / x | Signature timestamp and expiration | No |
google._domainkey.example.com. IN TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkq...IDAQAB"
; v=DKIM1 version
; k=rsa key type (default)
; p= base64 public key; empty p= means the key is revokedA valid signature shows that a domain in d= signed the message. It does not say the d= domain matches the visible From address. That check is DMARC alignment.
| Item | SPF | DKIM | DMARC |
|---|---|---|---|
| What it checks | Sending IP against a DNS list | Signature over headers and body | Alignment with the From domain |
| Where published | TXT at the domain | TXT at selector._domainkey | TXT at _dmarc |
| Survives forwarding | Usually no | Yes, if content is unchanged | Depends on SPF or DKIM |
| Gives you reports | No | No | Yes (rua) |
RFC 6376 says signers must use RSA keys of at least 1024 bits for long-lived keys.
Google requires 1024 bits or longer for mail to personal Gmail accounts and recommends 2048.
A 2048-bit key is a long TXT value. Some DNS panels need it split into strings or reject it.
DomainKeys Identified Mail. It is an IETF standard (RFC 6376) for attaching a verifiable signature to email so receivers can confirm which domain signed it and that signed content was not changed.
No. SPF authorizes sending IP addresses through a DNS list. DKIM signs the message content with a key. They fail differently: SPF breaks on forwarding, DKIM breaks when a signed part is modified.
In a DNS TXT record at selector._domainkey.yourdomain. Some providers, such as Microsoft 365, ask for two CNAME records at selector1._domainkey and selector2._domainkey that point to keys they host.
Yes for any serious sending. Google and Yahoo require both SPF and DKIM from bulk senders, and DMARC passes if either aligned method passes, so DKIM gives a second path.
Yes. A message can carry several DKIM-Signature headers, for example one from your own domain and one from your mail provider. DMARC passes if any aligned signature verifies.
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.