DNS essentials for deliverability: SPF, DKIM, DMARC alignment, rDNS basics, common misconfigurations
Topics covered include the fundamental DNS records essential for email deliverability: SPF, DKIM, and DMARC alignment. It also explains the role of rDNS and identifies typical configuration errors that can compromise authentication.
Sample Questions
When configuring SPF for a domain that uses a third-party email service (like SendGrid) and also sends mail from its own servers, what is the most correct SPF record structure to avoid exceeding the DNS lookup limit?
- Use a single 'include' mechanism for the third-party service and an 'a' mechanism for your own servers.
- Use multiple 'include' mechanisms, one for each third-party service, and an 'mx' mechanism.
- Use an 'include' mechanism for the third-party SPF domain and an 'ip4' mechanism for your own mail server IPs, ensuring the total DNS lookups do not exceed 10.
- Use the 'redirect' modifier to point to the third-party's SPF record and add your own IPs separately.
In DKIM, what is the specific purpose of the 's=' tag in the DKIM-Signature header field?
- It lists the header fields that were included in the canonicalization and signing process.
- It indicates the domain of the signing entity (the d= domain).
- It specifies the hashing algorithm used (e.g., sha256).
- It defines the selector used to locate the public key in DNS.
For DMARC alignment to pass on a DKIM signature, what specific relationship must exist?
- The domain in the DKIM signature's 'i=' tag (the signing identity) must exactly match the domain in the RFC5322.From address.
- The 's=' selector domain must match the domain used in the SPF record.
- The 'd=' domain in the DKIM signature must match the organizational domain found in the RFC5322.From address.
- The 'd=' domain in the DKIM signature must be a subdomain of the domain in the RFC5322.From address.