DKIM (DomainKeys Identified Mail)
Auth & DNSDKIM works with an asymmetric key pair: the sending mail server signs each outgoing email with a private key, embedding the signature in the email header. The receiving server retrieves the matching public key from DNS (at selector._domainkey.yourdomain.com) and verifies the signature. If it matches, the email is confirmed authentic.
DKIM proves two things simultaneously: (1) the email was sent by a server authorized by the signing domain, and (2) the email body and headers were not modified in transit. It is one of the three authentication protocols required by Gmail and Outlook for bulk senders. For cold email, use 2048-bit key length. 1024-bit keys are deprecated. Each sending platform should use a separate DKIM Selector to isolate reputation per platform.
DKIM alone does not prevent email spoofing in the visible From header, that requires DMARC. The combination of SPF + DKIM + DMARC constitutes a complete email authentication stack.