DNS Record Generator for ([^

Generate SPF, DKIM, and DMARC records for your domain.

Results for ([^
Checked: Jun 18, 2026 at 14:22 UTC
Generated DNS records for . Copy and paste into your DNS provider.
SPF
v=spf1 include:_spf.google.com ~all
Specifies which mail servers can send email for your domain
DMARC _dmarc.
v=DMARC1; p=quarantine; rua=mailto:dmarc@; pct=100
Tells receiving servers how to handle emails that fail SPF/DKIM checks
DKIM selector._domainkey.
; Generate a DKIM key pair and publish the public key as a TXT record
Cryptographic signature proving the email was sent by your domain
MX
10 mail.
20 mail2.
Directs incoming email to your mail servers

What is DNS Record Generator?

DNS Record Generator creates correctly formatted SPF, DKIM, and DMARC records you can copy into your DNS settings. Misconfigured email authentication records are the top reason emails land in spam. This tool outputs valid TXT records so you don't have to memorize the syntax.

How to use this tool

  1. Enter your domain name.
  2. The tool generates SPF, DKIM, DMARC, and MX record templates.
  3. Customize each record based on your email provider (Google Workspace, Microsoft 365, etc.).
  4. Copy the generated records.
  5. Add them as TXT records in your DNS provider.

Frequently asked questions

What's the difference between SPF, DKIM, and DMARC?
SPF tells servers which IPs can send email for your domain. DKIM adds a cryptographic signature to verify emails weren't altered. DMARC ties them together with a policy for when checks fail. You need all three.
How do I create SPF for multiple email services?
Use the include mechanism for each service (e.g., include:_spf.google.com for Gmail). Keep total DNS lookups under 10 or SPF will fail.
What DMARC policy should I start with?
Start with p=none and a reporting address so you receive reports without affecting delivery. After 2-4 weeks of monitoring, move to p=quarantine and eventually p=reject.
Why are emails still going to spam after adding records?
Records take up to 48 hours to propagate. Also check for common mistakes: multiple SPF records (only one allowed), exceeding the 10-lookup limit, or DKIM selector mismatches.

Recently checked

Related tools

Need a place to build your project?

Launch a cloud workspace with Claude Code. Your AI builds it, we host it.

Start for $5/month