Prompt

How do I check if SPF or DKIM is broken?

Technology / API Platforms1 observationLast seen Oct 19, 2026

Latest observation

Oct 19, 2026OpenAI APIWeb search: off

To check whether SPF or DKIM is broken, the quickest approach is to inspect the email headers of a message that was sent from your domain and see whether the receiving server reported pass or fail.

1) Check the message headers

Open a delivered email and look for lines like:

  • SPF
    • Received-SPF: pass
    • or in authentication results:
      • spf=pass
      • spf=fail
  • DKIM
    • dkim=pass
    • or dkim=fail
  • Often bundled in:
    • Authentication-Results:

Example:

Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of user@example.com designates 1.2.3.4 as permitted sender)
       dkim=pass header.i=@example.com
       dmarc=pass

If you see fail, softfail, neutral, temperror, or permerror, that points to a problem.


2) Use a mail testing service

Send a test email to a service like:

  • mail-tester.com
  • Gmail / Outlook test inboxes
  • Your ESP’s built-in validation tools

These services will show:

  • whether SPF passed
  • whether DKIM passed
  • whether DMARC passed
  • common configuration issues

3) Verify SPF in DNS

SPF is a TXT record on your domain.

Check it with:

dig TXT example.com

Look for something like:

v=spf1 include:_spf.google.com ~all

Things to check:

  • only one SPF record per domain
  • includes all sending services
  • not too many DNS lookups
  • sender IP is authorized
  • record syntax is valid

4) Verify DKIM in DNS

DKIM uses a selector and public key in DNS.

Example lookup:

dig TXT selector._domainkey.example.com

You should see a record like:

v=DKIM1; k=rsa; p=MIIBI...

Things to check:

  • selector matches what your mail server uses
  • public key exists in DNS
  • DKIM signature is being added to outgoing mail
  • key hasn’t been rotated/removed

5) Common signs it’s broken

SPF broken if:

  • the sending IP is not in the SPF record
  • you have multiple SPF TXT records
  • the record exceeds DNS lookup limits
  • forwarded mail fails SPF
  • Return-Path domain doesn’t align with the sending service setup

DKIM broken if:

  • the DKIM signature is missing
  • the selector DNS record is missing
  • the message was modified after signing
  • the private key on the sender is wrong
  • the signature is invalid or expired

6) Fast troubleshooting commands

If you have terminal access:

dig TXT example.com
dig TXT selector._domainkey.example.com

For a full header check, copy the email headers into a parser like:

  • MXToolbox header analyzer
  • Google header analyzer tools
  • mail-tester

7) If you want the shortest answer

  • SPF: check the domain’s TXT record and the message’s spf=pass/fail
  • DKIM: check the selector TXT record and the message’s dkim=pass/fail

If you want, I can help you interpret a specific email header or SPF/DKIM DNS record.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.