Tools & Calculators · 7 min read · Updated 2026-11-14

DKIM Key Checker: Verify 2048-bit RSA Public Keys, Selectors, and Alignment

Audit and validate your DomainKeys Identified Mail (DKIM) records. Verify 2048-bit cryptographic key strength, test DNS selectors, and prevent signature errors.

SX
Sakvex Engineering Email Infrastructure & Deliverability Team

Cryptographic Integrity: Why Modern Inboxes Demand 2048-bit DKIM

While SPF verifies which IP address delivered a message, it cannot prove that the contents of the message were not altered during transit by intermediate proxies or malicious relays. To solve this security gap, the internet engineering community introduced DomainKeys Identified Mail (DKIM), codified in RFC 6376.

DKIM employs asymmetric public-key cryptography (RSA):

  1. Private Key Signing: The sending MTA computes a cryptographic hash of the message body and selected headers, encrypts that hash using a private key, and injects the resulting signature into the DKIM-Signature email header.
  2. Public Key Verification: The receiving mail server extracts the d= (domain) and s= (selector) tags from the header, queries public DNS for the corresponding public key, and decrypts the signature to confirm message authenticity.

In 2024, Google, Yahoo, and Microsoft 365 updated their sender requirements, requiring strict cryptographic alignment. Senders utilizing obsolete 1024-bit keys or broken selector records face immediate spam classification.

+--------------------------------------------------------------------------+
| Cryptographic DKIM Signing Pipeline with Sakvex Preflight DNS QA:        |
|                                                                          |
| [ Sakvex In-Memory Template Compiler ]                                   |
|   | - Inlines Responsive CSS & Outlook VML Directives                    |
|   | - Injects RFC 8058 List-Unsubscribe-Post Headers                     |
|   v                                                                      |
| [ Outbound Relay Signs Headers: DKIM-Signature (2048-bit RSA) ]          |
|   | - Signed Headers (h=): From:To:Subject:Date:List-Unsubscribe...      |
|   | - Body Hash (bh=): SHA-256 Digest of Compiled HTML Body              |
|   | - Selector Tag: s=sakvex2026, Domain Tag: d=yourdomain.com           |
|   v                                                                      |
| [ Outbound TLS Socket Handshake (Port 587) ]                             |
|   v                                                                      |
| [ Receiving Gateway: Google / Microsoft / Yahoo Inbound MX ]             |
|   | - Resolves DNS: sakvex2026._domainkey.yourdomain.com                 |
|   | - Verifies RSA Modulus & Validates Signature Decryption              |
|   | - Match Result: DKIM PASS (100% Cryptographic Alignment)             |
|   v                                                                      |
| [ Primary Inbox Placement Guaranteed Across All Target Inboxes ]         |
+--------------------------------------------------------------------------+

Our DKIM Key Checker validates public key records, confirms 2048-bit cryptographic strength, and flags syntax errors before they compromise campaign deliverability.


1. Anatomy of a Production DKIM DNS Record

A DKIM public key is published as a DNS TXT record at <selector>._domainkey.<domain>:

Host: sakvex2026._domainkey.mail.yourdomain.com
Type: TXT
TTL: 3600
Value: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuZ... (392 characters)

Key tags explained:

  • v=DKIM1: The protocol version identifier. Must appear first in the record.
  • k=rsa: The key algorithm type. While Ed25519 is an emerging standard, RSA remains the universally supported cryptographic standard across all receiving MTAs.
  • p=...: The base64-encoded public key string. For a 2048-bit key, this string is approximately 392 characters long.
  • t=s: (Optional) Specifies that subdomains are not permitted to use this key.
  • s=email: (Optional) Restricts key usage to email service types.

2. The Critical Shift from 1024-bit to 2048-bit Keys

Historically, many email platforms defaulted to 1024-bit RSA keys because older DNS servers struggled with TXT records longer than 255 characters. However, modern computing power has rendered 1024-bit RSA keys vulnerable to factorization attacks.

Today, major mailbox providers treat 1024-bit keys as untrusted:

  • The 255-Character String Splitting Rule: A 2048-bit public key string exceeds the 255-octet limit for single DNS TXT strings. DNS administrators must publish the key as multiple concatenated quoted strings within the same record (e.g., "MIIBIjANBgkq..." "hkiG9w0BAQE..."). Our tool formats these multi-part strings automatically for Bind, Cloudflare, Route53, and GoDaddy.
  • Deprecation of 1024-bit Keys: Mailbox providers are progressively discounting 1024-bit signatures. Google Workspace and Microsoft 365 strongly favor 2048-bit keys for reputation scoring.

3. How Sakvex Preflight DNS QA Protects Outbound Campaigns

Sakvex ensures that your campaigns never dispatch with broken or misconfigured cryptographic keys:

  • Preflight DNS QA Engine: Prior to releasing scheduled campaign batches via CampaignSchedulerService.java, Sakvex queries <selector>._domainkey.<domain>, checking for key existence, valid base64 encoding, and 2048-bit modulus length. If a key is missing or truncated, the scheduler halts dispatch and alerts the administrator.
  • Signing RFC 8058 Headers: Sakvex mandates that List-Unsubscribe and List-Unsubscribe-Post headers are included in the DKIM h= signed headers list, satisfying Google and Yahoo anti-spoofing requirements.
  • Journey Quiet Hours Integration (9 AM – 6 PM): Automated customer journeys respect recipient local timezones, holding non-urgent sequences overnight and ensuring DKIM-signed emails arrive when recipients are attentive.
  • Public Signup Forms with Invisible Honeypots: Forms (/public/forms/{id}) incorporate hidden website trap fields and cryptographic SHA-256 double opt-in tokens, ensuring only genuine inboxes receive authenticated messages.
  • Microsoft Outlook VML Button Directives: All action buttons in authenticated emails compile with Vector Markup Language fallbacks, guaranteeing pixel-perfect rendering across desktop Outlook 2016, 2019, and Office 365.

4. Troubleshooting Common DKIM Failure Modes

If your DKIM checks return dkim=fail, review these common configuration issues:

  1. Whitespace and Newline Corruption: Copying public keys from cloud consoles into DNS editors frequently introduces hidden newline characters that corrupt base64 decoding.
  2. Missing Canonicalization Headers: Outbound MTAs must use relaxed/relaxed canonicalization (c=relaxed/relaxed). Strict canonicalization causes signatures to break if an intermediate relay alters trailing whitespace.
  3. Mismatched Selectors: Verify that the selector tag configured in your cloud SMTP relay matches the DNS host label exactly.

Audit your DKIM records today with our free analyzer to ensure your domain maintains 100% cryptographic deliverability.

Frequently Asked Questions

DomainKeys Identified Mail (DKIM, RFC 6376) uses asymmetric public-key cryptography to append a digital signature to outgoing email headers. The receiving mail server fetches the public key from your DNS to verify that the message originated from your domain and was not tampered with in transit. 1024-bit keys are cryptographically vulnerable and rejected by modern security filters; 2048-bit RSA keys are the current industry standard.

A selector is an arbitrary string that points to a specific public key in your DNS, allowing a domain to maintain multiple active keys across different email streams. The DNS record is published at selector._domainkey.yourdomain.com as a TXT record.

Sakvex integrates with your cloud SMTP relay (e.g., AWS SES Easy DKIM or dedicated Postfix MTAs) to sign outbound messages with 2048-bit RSA keys, including the mandatory RFC 8058 List-Unsubscribe headers within the signed header list.

Sakvex's Campaign Scheduler runs an automated preflight check against your configured selector and domain, testing public key syntax, modulus length, and DNS propagation before any campaign socket opens.
Enterprise Architecture Built into the Sakvex Platform Engine:
Journey Automation Quiet hours protection (9 AM – 6 PM) in contact local timezone
Campaign Scheduling Timezone calendar dispatches with automated preflight QA
Public Signup Forms Invisible bot honeypot protection & double opt-in tokens
BYOS SMTP Freedom Wholesale delivery via AWS SES, Postmark, or private MTA
Zero Per-Contact Surcharges

Take Full Control of Your Email Delivery Infrastructure

Connect your AWS SES, Postmark, or custom SMTP server to Sakvex in under 3 minutes. Experience wholesale email economics with agency-grade marketing automation.