Rackgrade

DMARC record generator

Build a correct DMARC record in a minute. Start in monitoring mode, then tighten to full protection once your reports look clean.

Start from
Policy: what should receivers do with mail that fails?

Daily summaries of who's sending mail as your domain. Separate several addresses with commas.

Advanced settings
100%

Few providers send these, and they can contain message details. Most people skip this.

Your DMARC record


      
Type
TXT
Host
_dmarc
TTL
Auto or 3600

    Where to put it

    Add one TXT record at your DNS provider. If you already have a record at _dmarc, edit it rather than adding a second one. Two DMARC records cancel each other out.

    ProviderHost / Name fieldNotes
    Cloudflare_dmarcDNS → Records → Add record → TXT. Paste the record as is.
    GoDaddy_dmarcDNS → Add New Record → TXT.
    Namecheap_dmarcAdvanced DNS → Add New Record → TXT Record.
    Microsoft 365 DNS_dmarcAdmin center → Settings → Domains → DNS records → Add record.
    AWS Route 53_dmarc.yourcompany.comRoute 53 wants the full name, and the value wrapped in double quotes.

    A safe rollout

    1. Monitor (p=none)

    Publish with a report address. Nothing changes for your mail yet. Read the reports for two to four weeks and list every service that sends as you: your mail provider, newsletter tool, CRM, helpdesk, invoicing.

    2. Fix your senders

    Make sure each legitimate service passes SPF or DKIM with your domain. Most have a "verify domain" or "authenticate" page in their settings that gives you the DNS records to add.

    3. Quarantine (p=quarantine)

    Failing mail goes to spam. Watch the reports for another couple of weeks. Anything legitimate that lands there is a sender you missed.

    4. Reject (p=reject)

    Failing mail is refused. At this point nobody can successfully spoof your domain to people whose providers check DMARC, which is nearly all of them.

    Questions

    What does each part of the record mean?

    v=DMARC1 marks it as a DMARC record and must come first. p is the policy for your domain. sp is the policy for subdomains; without it they follow p. pct is the share of failing mail the policy applies to. rua is where aggregate reports go. ruf is where failure reports go. adkim and aspf set whether alignment must be an exact domain match (strict) or can be any subdomain of yours (relaxed). fo chooses what triggers a failure report.

    Is p=none bad?

    Not at first. It's the right starting point, because it lets you see who sends as your domain without risking real mail. It just doesn't protect you, so treat it as a temporary step on the way to quarantine or reject.

    My report address is on a different domain. Why the extra record?

    To stop people from flooding strangers with reports, receivers only send reports to another domain if that domain agrees. The agreement is a TXT record at yourdomain._report._dmarc.reportdomain containing v=DMARC1. Report services usually set this up for you. If the reports go to a mailbox you run on another domain, you add it yourself. The generator shows the exact record when it's needed.

    What about a domain that never sends email?

    Parked and redirect-only domains are favorite targets for spoofing, because nobody watches them. Lock them down with v=DMARC1; p=reject plus an SPF record of v=spf1 -all. Use the "Domain never sends email" preset above.

    Should I use strict alignment?

    Usually not. Relaxed alignment accepts mail signed by any subdomain of yours, which is how most mail services work. Strict can break legitimate mail and adds little protection for most organizations.