In short
DMARC is a DNS record that sets out what happens to emails that claim to come from your domain but fail the SPF and DKIM checks. You add it as a TXT record named _dmarc, for example with the value v=DMARC1; p=none; rua=mailto:dmarc@meinefirma.at. You also receive reports on who sends emails in your name.
What DMARC is for
Anyone can put any sender they like into an email. Fraudsters use this for phishing in the name of well-known companies. SPF and DKIM check whether an email comes from an authorised server and has not been altered on the way. DMARC ties both checks to the visible sender address and tells receiving servers how to handle failures.
DMARC also gives you reports: large email providers regularly send you a summary of which servers have sent emails from your domain. This lets you spot services you forgot about, such as a newsletter tool, and attempts to spoof your domain.
How a DMARC record is structured
Name:_dmarcType:TXTValue:v=DMARC1; p=none; rua=mailto:dmarc@meinefirma.at| Part | Meaning |
|---|---|
| v=DMARC1 | Version. Always comes first. |
| p=none, p=quarantine or p=reject | Policy: monitor only, move to the spam folder or reject. |
| rua=mailto:… | Address for the regular aggregate reports. |
| pct=100 | Percentage of emails the policy applies to. Optional. |
| sp= | Policy for subdomains. If it is missing, the policy from p applies. Optional. |
| adkim and aspf | How closely the domains must match: r for relaxed, s for strict. Optional. |
Set up DMARC in five steps
- First set up SPF and DKIM for every service that sends emails from your domain. The article Set up SPF and DKIM explains how.
- Set up an address for the reports, such as dmarc@meinefirma.at, or use a service that analyses the reports.
- In the Rocketprovide customer portal, open the domain, go to DNS and add a TXT record with the name
_dmarcand the valuev=DMARC1; p=none; rua=mailto:dmarc@meinefirma.at. - Read the reports for two to four weeks. If a service is missing from SPF or DKIM, add it.
- Then tighten the policy step by step, first to
p=quarantineand later top=reject.
Do not start with p=reject straight away. If you have forgotten a service, recipients will reject its emails, such as invoices from your accounting software.
The three policies compared
| Policy | What happens to emails that fail | When to use it |
|---|---|---|
| p=none | Delivered as before. You only receive reports. | To start with and to take stock. |
| p=quarantine | The email usually ends up in the spam folder. | Once all your own services pass SPF or DKIM. |
| p=reject | The receiving server rejects the email. | As the goal, once the reports no longer show errors. |
Check your DMARC record
You can see whether your record is correct in three ways:
- In the customer portal, the record appears in the DNS zone of the domain, and you will find every change in the history.
- On the command line:
dig TXT _dmarc.meinefirma.atornslookup -type=TXT _dmarc.meinefirma.at. - In a received email: Gmail shows under “Show original” whether SPF, DKIM and DMARC have passed (PASS).
The reports arrive as an XML file attachment. They are hard to read without a tool. Some services analyse them and present them as an overview. Choose a service that meets your data protection requirements.
How to read DMARC reports
An aggregate report lists every server that sent emails from your domain during a period, usually one day. The main fields:
| Field | Meaning |
|---|---|
| source_ip | IP address of the server that sent the emails. |
| count | Number of emails from this server. |
| header_from | Domain in the visible sender address. |
| spf and dkim | Result of each check, pass or fail. |
| disposition | What the receiving server did: none, quarantine or reject. |
If an IP address shows up with many emails and a fail result, it belongs either to a service you have forgotten or to someone spoofing your domain. Before you tighten the policy, check whether the server belongs to one of your services.
DMARC and forwarding
If a mailbox automatically forwards emails to another address, SPF often fails at the destination because the forwarding server is not in your SPF record. The DKIM signature, on the other hand, usually survives forwarding unchanged. That is why DKIM is particularly important for DMARC: if DKIM passes, DMARC passes too, even if SPF breaks on the way.
Common DMARC mistakes
- Record in the wrong place: it belongs under
_dmarc, not on the domain itself. - Two DMARC records: as with SPF, only one is allowed.
- Missing semicolons: there is always a semicolon between the parts.
- Reports to another domain: if the reports go to an address at a different domain, that domain must allow this in its DNS.
- Moving to reject too quickly: emails from forgotten services are then rejected.
All records for Microsoft 365 and Google Workspace at a glance.
Email with your own domainFrequently asked questions
Is DMARC mandatory?
Since 2024, Gmail and Yahoo have required a DMARC record from senders of very large volumes of email. For small domains too, it protects against phishing in your name.
What does p=none mean?
Receiving servers handle emails as before but send you reports. p=none is suitable for getting started but does not yet protect against spoofed emails.
Do I need DMARC for a domain without email?
It is a good idea. With the DMARC value v=DMARC1; p=reject and the SPF value v=spf1 -all, you show that no emails come from this domain. This makes it hard for fraudsters to use it for phishing.
How long does it take for DMARC to work?
Usually within an hour of saving the record. The first reports normally arrive after about a day.
Where do I add DMARC at Rocketprovide?
In the customer portal, under DNS for the domain: new record, type TXT, name _dmarc and, as the value, the policy with your address for the reports.
What is the difference between rua and ruf?
rua sets the address for aggregate reports, ruf the address for failure reports on individual emails. Only a few providers send failure reports, so rua is enough to start with.