Loading...
Please wait while we prepare your tools
Please wait while we prepare your tools
Validate DKIM (DomainKeys Identified Mail) records to ensure your email authentication is properly configured
Enter your domain without protocol (e.g., example.com)
What is a DKIM Selector?
A DKIM selector is a string that identifies which DKIM key to use for verification. Common selectors include 'default', 'google', 'selector1', etc.
How to find it:
• Check your email provider's documentation
• Look at email headers for 's=' parameter
• Try common selectors from the dropdown
Choose from common selectors or enter a custom one
Method 1: Check Email Headers
Method 2: Common Selectors by Provider
Google Workspace: "google", "default"
Microsoft 365: "selector1", "selector2"
SendGrid: "smtpapi"
Mailgun: "mxvault", "k1"
Amazon SES: Custom (check console)
cPanel/WHM: "default", "mail"
Method 3: DNS Lookup
Check DNS TXT records for: [selector]._domainkey.yourdomain.com
✅ Validation Checks:
📊 Detailed Analysis:
Validate email address syntax and records.
Test email content for spam indicators.
Check email deliverability and reputation.
Query domain mail server records.
Verify if server IPs are blacklisted.
Validate domain SPF authorizations.
DKIM (DomainKeys Identified Mail) is an email authentication method designed to detect email spoofing and phishing. It allows receiving mail transfer agents (MTAs) to verify that an incoming message claiming to have originated from a specific domain was indeed authorized by the owner of that domain.
By adding a cryptographic digital signature to the headers of outgoing emails, DKIM proves that the message body and headers were not altered in transit. This mechanism provides cryptographic assurance of message integrity, which spam filters and mailbox providers rely heavily upon to determine inbox placement.
DKIM runs on **asymmetric cryptography**. This involves two mathematically linked keys: a **private key** and a **public key**:
DKIM-Signature. The private key remains secure on the sending server.[selector]._domainkey.yourdomain.com.DKIM-Signature header. It queries DNS for the public key, decrypts the signature, and calculates the message hash. If the hashes match, the signature is verified, proving that the email came from your server and was not modified.A typical DKIM public key record published in DNS looks like this:
v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvX...
Here is what each tag represents:
To support multiple sending services (such as Google Workspace for corporate email and SendGrid for transactional emails), domains use **selectors**. A selector is a string prefix that points to a specific key. This allows you to publish multiple DKIM public keys on a single domain.
Additionally, during transit, mail transfer agents sometimes modify headers (e.g. changing spacing or wrapping lines), which could break cryptographic signatures. To prevent false negatives, DKIM uses **canonicalization algorithms** (defined in the `c=` tag of the signature, such as `simple` or `relaxed`) to normalize spacing, casing, and carriage returns before calculations.
A DKIM selector is a unique string used by sending servers to locate the correct public key in DNS. It forms part of the DNS domain name: [selector]._domainkey.yourdomain.com.
You can find it by viewing the raw email headers of a message sent from your domain (look for the s= parameter in the DKIM-Signature header), or by checking your email provider's admin panel.
DKIM verification fails if: the selector DNS record is missing, the public key is misconfigured, the message headers or body were altered during transit, or the sending server used an incorrect private key.
Yes, DMARC requires that emails pass alignment checks for either SPF or DKIM. If SPF fails (common during email forwarding), a valid DKIM signature is essential to pass DMARC validation.
SPF lists the authorized IP addresses allowed to send mail on behalf of your domain, whereas DKIM signs the emails cryptographically, verifying message integrity and origin regardless of the sending IP.
Security standards strongly recommend using 2048-bit keys. 1024-bit keys can be compromised offline with high computing power. 2048-bit keys provide long-term cryptographic protection.