DNS lookup limit
The Sender Policy Framework (SPF) ↗ specification has a limit on the number of DNS lookups required to fully resolve an SPF record. According to the specification, SPF must limit the number of DNS lookups to 10 per SPF check. If your SPF records exceed this number, your emails might not reach their destination.
To check if your SPF records are compliant with the SPF specification:
- Log in to the Cloudflare dashboard ↗, and select your account and domain.
- Go to Email > DMARC Management.
- In Email record overview, select View records.
- Find your SPF record, and select the three dots next to it > Inspect.
- DMARC Management will inspect your records and check for the total number of DNS lookups. If the record exceeds the maximum number of DNS lookups, DMARC Management will warn you about this. You should edit and remove unnecessary records in the DNS page. Refer to Manage DNS records for more information on how to delete DNS records.