header.exploreTools
100% Client-Side • Private
Developer Utilities

DMARC & SPF Record Generator

Generate SPF, DMARC, and DKIM DNS TXT records for domain email security.

Loading tool...

Related developer tools

Continue with HTTP Headers Parser, PEM / X.509 Certificate Decoder, CSP Header Builder & Analyzer.

How to Use DMARC & SPF Record Generator

  1. Enter your domain name (e.g. example.com).
  2. Configure your SPF authorized servers (MX, Google Workspace, Microsoft 365, custom IPs).
  3. Switch to the DMARC tab and select your enforcement policy (none, quarantine, or reject).
  4. Copy the generated DNS TXT records and paste them into your domain registrar / DNS provider.

Frequently Asked Questions

What is SPF and why is it needed?

SPF (Sender Policy Framework) is a DNS TXT record that lists authorized mail servers allowed to send emails on behalf of your domain name.

What is DMARC?

DMARC (Domain-based Message Authentication, Reporting, and Conformance) uses SPF and DKIM to instruct receiving servers how to handle emails that fail authentication.

Sources & references

Primary references: RFC 7489: Domain-based Message Authentication, Reporting, and Conformance (DMARC); RFC 7208: Sender Policy Framework (SPF).

Review policy: references and behavior notes are checked whenever the tool implementation changes.