Prompt

spf dkim dmarc for app

Technology / Developer Tools1 observationLast seen Nov 23, 2026

Latest observation

Nov 23, 2026OpenAI APIWeb search: off

Absolutely — here’s a practical setup for SPF, DKIM, and DMARC for an app that sends email.

1) SPF

SPF tells receiving servers which mail services are allowed to send email for your domain.

Example DNS record

For a common setup using a mail provider like SendGrid, Mailgun, Amazon SES, etc.:

v=spf1 include:your-email-provider.com -all

Notes

  • Use only one SPF record per domain.
  • If you send from multiple providers, combine them into one record.
  • -all means only the listed sources are authorized.

Example with multiple sources:

v=spf1 include:sendgrid.net include:amazonses.com -all

2) DKIM

DKIM adds a cryptographic signature to outgoing mail so recipients can verify it was not altered and really came from your domain.

What you need

Your email provider will give you:

  • a selector
  • a public key
  • a DNS record to publish

Example DNS record

selector1._domainkey.yourdomain.com TXT "v=DKIM1; k=rsa; p=PUBLIC_KEY_HERE"

Notes

  • Your provider usually handles the private key.
  • You publish the public key in DNS.
  • Many providers give you a CNAME instead of a TXT record.

3) DMARC

DMARC tells receiving servers what to do if SPF/DKIM fail, and it gives you reports.

Example starter record

v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com

Recommended progression

  1. Start with monitoring
    v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com
    
  2. Then move to quarantine
    v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@yourdomain.com
    
  3. Finally to reject
    v=DMARC1; p=reject; rua=mailto:dmarc-reports@yourdomain.com
    

Optional tags

  • pct=50 — apply policy to 50% of failing mail
  • adkim=s — strict DKIM alignment
  • aspf=s — strict SPF alignment

Example:

v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@yourdomain.com; pct=50

Best practice for apps

If your app sends email, make sure:

  • The From domain matches your authenticated domain
  • SPF is set for the sending service
  • DKIM is enabled with your provider
  • DMARC is published for your domain
  • You use a monitored mailbox for rua reports

Recommended DNS setup example

For yourdomain.com:

yourdomain.com      TXT   "v=spf1 include:sendgrid.net -all"
selector1._domainkey TXT  "v=DKIM1; k=rsa; p=PUBLIC_KEY_HERE"
_dmarc.yourdomain.com TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com"

If you want, I can give you:

  1. a copy-paste DNS setup for a specific provider like SendGrid / Mailgun / SES / Postmark, or
  2. help you build the records for your exact domain and app setup.

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.