Home / Error library

SPF Too Many DNS Lookups: What the 10-Lookup Limit Means

SPF allows at most 10 DNS lookups. Nested includes push you over and SPF fails. How to count your lookups and cut them without breaking sending.

By the BurnedInbox team · Published · 3 min read

Check your own setup while you read.Run the free placement test

When an email is rejected, copy the entire SMTP response, including the numeric code, the host returning it and the human-readable explanation. Similar codes can have different causes. A delivery error is not the same as a message accepted into the spam folder.

What this error means

SPF evaluation has a defined DNS lookup limit. Nested include or redirect chains can exceed it, causing SPF evaluation errors. Blindly adding more includes can make the situation worse.

First five checks

  1. Preserve the evidence. Save the full NDR, bounce timestamp, sending account, domain, and destination.
  2. Identify the rejecting server. Was it the actual mailbox provider, an intermediate gateway, or your own outgoing mail platform?
  3. Inspect a real message. Where a message exists, check Authentication-Results, visible From, DKIM signature, sending IP and relevant envelope sender.
  4. Check the relevant DNS. Use SPF, DKIM and DMARC only when the error suggests authentication issues.
  5. Compare scope. Is it isolated to one mailbox, one recipient provider, one campaign, one IP or the entire infrastructure pool?

How to fix it

Inventory mechanisms that trigger DNS lookups and the services actively used. Remove obsolete senders, simplify includes through provider-supported configurations, and retest. Be careful with flattening because provider IP ranges may change.

After a repair, send an authorized test and compare the new result. If a message is accepted but still enters Junk or Spam, move to inbox placement testing rather than endlessly adjusting the same error-specific setting.

Mistakes to avoid

  • Buying a new domain immediately, without examining the full response.
  • Assuming an SMTP code guarantees that a domain is "burned" or publicly blacklisted.
  • Increasing retries or sending volume when a provider is actively deferring mail.
  • Sending through alternate accounts to bypass a restriction without resolving its cause.
  • Applying a generic DNS record that does not authorize your actual sending provider.

When to repair or replace

Configuration errors and temporary restrictions commonly call for correcting settings or sender behavior first. If an account is disabled or infrastructure is no longer usable for authorized sending, follow the provider's remediation process. Only then evaluate alternate mail infrastructure as an operational solution, using the repair-or-replace calculator. WarmInboxes is one option when replacement is appropriate, not a workaround for policy abuse.

Frequently asked questions

Does this error prove my email landed in spam?

No. The response indicates an SMTP rejection or deferral at a particular stage. A message accepted by the destination can be classified into spam later, but that is a separate diagnostic outcome.

Can I fix it with a blacklist removal request?

Only if the exact evidence points to a relevant listing and the listing owner supports remediation. Many SMTP errors are unrelated to public blocklists.

What should I test next?

Retest the specific failed path, then verify placement separately if delivery succeeds. For a provider-specific issue, keep the rejecting host and full response attached to the support request.

Next: Check your sending setup and use the free placement test after delivery succeeds.

Sources

More error guides

DKIM Signature Verification Failed: Troubleshoot the Real MessageDMARC Alignment Failed: SPF/DKIM Can Pass but DMARC Still FailGmail 421 4.7.0 Error: Temporary Rate Limit or Connection IssueGmail 421 4.7.28: Unusual Sending Rate or Unsolicited Email