DNS Record Generator

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

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