Opens in a new tab

spf=temperror: the SPF lookup failed in DNS

The receiver could not get an answer from DNS while checking SPF — a timeout, or a server failure. It is meant to be temporary: a retry may work. If it keeps happening, the domain’s DNS — or one of the domains its SPF record includes — is slow or broken.

spf=temperror (google.com: error in processing during lookup of bounce@example.com: DNS error)
How other mail servers write it

Microsoft 365 and Outlook.com

spf=temperror (sender IP is 192.0.2.1) smtp.mailfrom=example.com

Microsoft’s Received-SPF

Received-SPF: TempError (protection.outlook.com: error in processing during lookup of example.com: DNS Timeout)
Resultspf=temperror
Usually fixed byThe sending domain’s owner
Receivers that rejectUse a temporary code, 451 4.4.3, so the sender retries
Verifiers waitAt least 20 seconds for the whole check (RFC 7208 §4.6.4)

Check the sender’s SPF record

Enter the domain from smtp.mailfrom (the envelope sender): we read its SPF record, follow every include and count the lookups.

What it means

A temperror ends the SPF check when a DNS query times out or the server answers with a failure. It says nothing about whether the server may send — only that the question could not be answered at that moment.

Why it happens

  • Slow or unreachable nameservers for the domain.
  • A nameserver that answers SERVFAIL — a lame delegation or broken DNSSEC.
  • An included domain whose DNS is failing.

How to fix it

  1. Check the domain’s nameservers and DNSSEC — our DNS errors directory explains SERVFAIL and timeouts.
  2. Check each include: in the record resolves quickly.
  3. Microsoft suggests a TTL of at least 3600 seconds on authentication records, so answers stay cached.

See it for yourself

dig TXT example.com
dig TXT example.com @8.8.8.8

status: SERVFAIL, or no answer at all, confirms a DNS problem rather than an SPF one.

Sources

Error text and meaning checked on 25 September 2026 against these official sources:

See every receiver’s verdict on your mail

Add your domain and collect its DMARC reports: what Gmail, Microsoft, Yahoo and the rest decided about every message sent as you — SPF, DKIM and DMARC, pass or fail — and who is sending it. Free for your first domain.

Create a free account