DKIM Alignment (DKIM Alignment)
Why You Should Care About DKIM Alignment
DKIM alignment is half of the DMARC authentication check. DMARC passes if either SPF or DKIM is aligned with the From header domain. DKIM alignment specifically means the domain that signed the message (DKIM d= tag) matches the domain the user sees in the From header.
Relaxed alignment (the default) allows a subdomain to align with the parent. If your email is from user@example.com and DKIM signs with d=mail.example.com, relaxed alignment considers this a match. Strict alignment requires an exact match - d=example.com must match example.com.
Alignment failures are a common cause of DMARC failures for otherwise authenticated email. This happens when an email service signs with its own domain (d=sendgrid.net) instead of yours (d=yourdomain.com). Most email services support custom DKIM signing domains - configure this to align DKIM with your From domain.
Checking Your Setup
A DNS health checker verifies DKIM records and evaluates alignment potential. Send test emails and check the Authentication-Results header for dkim=pass and dmarc=pass with alignment. If DKIM passes but DMARC fails, you likely have an alignment problem.