Cookies This site keeps only what it needs to work. There is no analytics and no advertising on it today, and nothing here follows you to other sites. Read the privacy policy

Choose what to allow
+92 312 8299940Free Quote
EN – Language: English
Free tool, no account needed

DMARC Record Generator
With An SPF Builder Beside It

The DMARC record maker takes simple options and creates the records you will use today. Select a policy and report email address for DMARC, or select the services you use to deliver your mail for SPF, then check both records for any errors that may cause problems with your emails.

  • FreePrice
  • DMARC, SPFBuilds
  • NoneSign-up
  • In your browserRuns

DMARC and SPF Record Generator

Ready-to-publish TXT records, checked as you build them

Services that send mail as your domain

This domain’s own servers
Publish as a TXT record at host@
Checks on the record you built
CheckResultWhat it means

Ready. Tick the services that send your mail.

Your browser does all of the work here, in this tab. We upload nothing, store nothing and log nothing.

Check before you publish

One wrong line in a server, robots or DNS file can hide pages from search or stop mail from arriving. Test the result on a staging copy, or with a checker, before it goes live.

Add a link to this tool on your own site

Copy the code below and drop it into your page. It places a link to this free tool.

How to fix the errors this tool finds

Short guides, each with a quick video, for the issues this check can flag.

The short version

Why A DMARC Record Generator Saves Your Email

When you have SPF, DKIM and DMARC set up on your email server, other email servers will be able to tell if an email is real or fake. This means that if a stranger sends email claiming to be from your domain, it will not get through. But, if you don’t use SPF, DKIM and DMARC then spoofed email will get through and you are much more likely to have your real email end up in spam.

Since 2024, Gmail and Yahoo both need DMARC for all bulk mail senders. This means that DMARC records are now mandatory for businesses large and small and why the SPF builder is located next to the DMARC builder.

What SPF Does

SPF finds the mail servers authorized to send emails on behalf of your domain. This identification is made through one single TXT record, which starts with "v=spf1" and then lists all of your mail services and your own servers. The SPF record will also contain an instruction for other senders.

Diagram of an email path with SPF checking the sending server, DKIM signing the message and DMARC deciding what to do
SPF, DKIM and DMARC guard the mail.

The catch is that there is a maximum of ten DNS queries per build, as determined by the number of times each service you add to your build includes other services. As such, the build system maintains an ongoing estimate of the total DNS queries to be performed during the build process.

What DMARC Adds

DMARC lets receiving mail servers know what action to take if an email fails both SPF and DKIM checks: either allow the delivery of the email, mark it as spam, or block it from being delivered. In addition to letting mail servers know how to handle failing emails, DMARC allows mail servers to give reports back to you, which will show you every email service that is sending email under your domain name. These rules for DMARC are found in RFC 7489.

DMARC SPF generator with a domain, a server address and an include filled in, and the finished SPF record shown below
Fill the sources, get an SPF record.

Begin with None, End with Reject

A new DMARC record should start at p=none. Nothing changes for your mail, but the reports begin to arrive. After two to four weeks, once every real sender passes, switch to quarantine, and later on to reject.

DMARC SPF generator with the quarantine policy at 50 percent and a report address, with the DMARC record shown below
Set a DMARC policy and reports.

The most classic mistake you can make when setting up SPF records is to set p=reject on day one. A lost newsletter or billing system suddenly finds all of its email rejected.

Which DNS Name Holds Each Record

SPF is placed directly onto the domain (often written as "@" in a DNS control panel). DMARC is placed on a specific host name ("_dmarc"), so for example.com, it will be located at _dmarc.example.com. The generator will give you the correct host name for each record.

DMARC SPF generator in its strict setup, with a hard fail SPF ending, the reject policy and strict alignment chosen
Strict settings for a mature domain.

Checking The Result

Once the records are published, run your domain through our DNS records checker. It reads SPF, DMARC, DKIM and CAA live and counts the real SPF lookups.

Video guide

The DMARC and SPF Record Generator in Action

This brief video shows each step from start to finish. Choose your language below, and switch on captions if they help.

How it works

Working With the DMARC Record Generator, Start to Finish

A few choices, one record, and a table that tells you if anything is off.

  • Type your domain

    The host names and the report checks then use your real domain.

  • Build SPF first

    Click on each service that will be sending emails on your behalf, and then add your own mail servers and select what type of end result you want.

  • Then build DMARC

    Start with a policy of none and a report address, then tighten it later.

  • Publish and check

    For each of these records, add as a TXT record to the host that is specified, and verify with your DNS checker.

Why this one

What Sets This DMARC Record Generator Apart

Writing the record is easy. Knowing it will work is the useful part.

  • SPF and DMARC built on one page

    DMARC depends on SPF, so building them side by side keeps them consistent.

  • Lookup count in view

    Each ticked service adds its nested lookups to an estimate, so you see the ten-lookup limit coming.

  • Common senders listed

    Google Workspace, Microsoft 365, Zoho, Mailchimp, SendGrid and so on, each have their own correct include.

  • Checks as you build

    Invalid addresses, missing reports, a policy stuck on none: each is flagged with what to do.

  • Report authorisation explained

    The system will tell you the extra DNS record required by the other domain when you send reports to it.

  • Nothing leaves your tab

    The records will be created in your web browser and no data about how you use your e-mail account will ever be transmitted to any other location.

Good habits

Rules For SPF And DMARC Records

Eight habits that keep your mail trusted and delivered.

  • Publish exactly one v=spf1 TXT record for each domain. Two records starting v=spf1 make both invalid, so merge them into one.
  • Stay under ten lookups. Add up each include, a and mx lookup. Past ten, however, SPF fails for every message.
  • End SPF with ~all or -all. Never +all, which authorises the whole internet to send as you.
  • Start DMARC at none. Collect reports first, so no genuine sender gets blocked by surprise.
  • Always set a report address. Without rua, DMARC is a policy nobody can see working.
  • Move up to reject one step at a time. Quarantine first, reject later, each only after the reports stay clean.
  • Sign with DKIM too. DMARC will pass when either SPF or DKIM passes. SPF does not work well with emails that are forwarded, whereas DKIM continues to function.
  • Run the check again each time you add a new sending service. All new newsletter and CRM tools need an include to make sure their mails will be delivered properly.
Worth avoiding

Six Email Authentication Mistakes

Each of these looks harmless in a DNS panel and costs real mail.

  • Two SPF records

    Added by two different setup guides, and together they cancel each other out.

  • Eleven lookups

    One include too many, and receivers stop reading the record halfway.

  • p=none forever

    This policy was intended to be an initial measure, but we continue to get fraudulent email after many years.

  • Reports to a dead mailbox

    Nobody reads them, so the move to quarantine never happens.

  • Publishing the DMARC record under the wrong name

    Published on the domain itself instead of _dmarc, where receivers never look.

  • Forgetting a sender

    The billing system or help desk mails as you, and suddenly its messages bounce.

Questions

DMARC And SPF Questions People Ask

What does a DMARC record tell receiving mail servers?

A TXT record located at _dmarc on your own domain gives instructions to the receiving server about how to process emails that fail either SPF or DKIM checks and where to send the reporting data.

Should SPF be in place before I publish DMARC?

Set up either SPF or DKIM before setting up DMARC. Having both is better.

Which DMARC policy suits a domain that is just starting out?

The beginning should be at P=NONE, with a report-collecting address. After a few weeks of no bad reports, move on to QUARANTINE, and finally to REJECT.

In which DNS panel do these Denwix records go?

In either case, the TXT record should be added to the DNS settings where you have registered your domain (your Registrar), where you host your website (your Webhost), or through a third-party service such as Cloudflare.

What does the tilde in ~all tell mail servers?

This indicates that any email sent from an unknown server will be considered suspicious instead of being blocked. As such, this is a secure option during testing.

Why does SPF stop working after ten DNS lookups?

SPF may cause at most ten DNS lookups, counted through every include. Beyond that, the check fails for every message.

Why is the lookup count an estimate?

The provider changes its records occasionally. After being published, the DNS checker finds how many actual records exist.

Can DMARC reports land in a mailbox on another domain?

Yes, as long as that domain publishes a record stating that it is willing to accept those records. The generator gives you the specific type of record that it needs.

When will the records start working?

The timing of delivery is based upon how quickly the recipient’s DNS records update (TTL). It could take anywhere from a few minutes to as long as a day for some recipients.

Where does the domain I type into Denwix go?

No. The Denwix generator works locally and transmits nothing.

More free tools

Denwix Tools for Domains and Mail

The writing of the records was only one step in the process. The remainder of the checks were completed using other Denwix tools.

Ready to Stop Spoofed Mail From Your Domain?

Build your SPF and DMARC records in a minute and publish them today. This DMARC record generator costs nothing, needs no login and keeps every value in your browser.

Prefer Denwix on GoogleReview Denwix on Google