1. Complete DNS Record Blueprint
| Record Type | Host / Name | Value / Destination |
|---|---|---|
| TXT (SPF) | @ (or root) | v=spf1 include:spf.171mails.com ~all |
| TXT (DKIM) | mail._domainkey | v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0... |
| TXT (DMARC) | _dmarc | v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com |
| CNAME (Return-Path) | bounces | relay.171mails.com |
2. The 10-Lookup SPF DNS Trap
The SPF specification (RFC 7208) limits DNS evaluations to 10 lookups. If your SPF record contains too many nested include: mechanisms, receivers return a PermError, failing authentication. 171mails provides an optimized SPF mechanism that consumes just one lookup.
3. Verifying DNS Records with Command Line
# Check SPF
dig TXT yourdomain.com +short
# Check DKIM Selector
dig TXT mail._domainkey.yourdomain.com +short
# Check DMARC
dig TXT _dmarc.yourdomain.com +short