-->

News Ticker

DMARC Record: How To Add it? | Benefit | Dmarc Defined

author image

DMARC Record: How To Add it? | Benefit | Dmarc Defined
DMARC Record: How To Add it? | Benefit | Dmarc Defined

DMARC record ensures that fraudulent emails are blocked before they reach your inbox. Furthermore, DMARC provides you with detailed visibility and reporting on sending emails on behalf of your domain. However, only the legitimate email is received.

Above all, we will learn about everything related to the Dmarc record in this article based on the table below:

(toc)


What is Dmarc means?

(DMARC) Domain-based Message Authentication, Reporting, and Conformance mean: is a standard that prevents spammers from using your domain to send email without your permission, also known as spoofing.

In this situation, spammers can forge the “From” address on messages, making the spam appear to come from a user in your domain.

The good news is that DMARC is open and free for anyone to use, allowing you to secure your domain’s emails while also gaining control over email delivery. In this case, all you have to do is follow the instructions in this guide and select an ESP that supports Domain-based Message Authentication.

But before you can learn the DMARC protocol, you must first understand DKIM and SPF, both email authentication standards.

In short, Let us start with Darmac because it is our topic in this article.

What is the benefit of implementing DMARC record?

  • Vis a vis, DMARC record is an essential, strategic and indispensable component of email security. Because it supports visibility and security.
  • Besides, the DMARC record protects the brand’s integrity by keeping the brand name out of an attacker’s arsenal of faked email domains.
  • With attention to, DMARC record allows organizations to keep track of all authorized and non-authorized third parties who send emails on their behalf, ensuring compliance with security best practices.
  • Domain-based Message Authentication provides additional assurance that emails sent by a specific company are authentic, thus enhancing deliverability to inboxes while also preventing spam. It also increases email deliverability. Even valid emails might end up in spam folders or quarantines, which can be problematic when emails contain sensitive information.
  • In the same way, DMARC reports will notify you if your legal sources start sending unauthenticated emails. Also, the amount of emails sent from your domain is included in the report. With attention, If you detect an odd rise in sending volume, you can investigate whether it came from a legal source or was the result of a spoofing assault.
  • Accordingly, using the DMARC reporting system, you can obtain reports on email messages sent on behalf of your domain from anywhere on the internet. Also, these reports give you a detailed look at about your email domain name is used
  • However, DMARC record assists you in dealing with security threats like spam, phishing, and spoofing. Overall, the DMARC policy directs receiving email systems to report SPAM and what to do if they receive a message claiming to be from your domain but not correctly validated.

Email Authentication and Brand indicator

  • For instance, the BIMI (Brand indicator for Message Identification) is accessible through the DMARC record. Also, it provides email senders a way to stand out in their recipient’s inboxes by showing their logo next to their email. As a result, it gives your email instantaneous credibility and brand recognition.
  • Moreover, email Authentication helps you create a reliable database. And also, having a database with correct email addresses increases your chances of reaching people. On the contrary, the opposite is who has an incorrect or dead list.

Does Dmarc improve deliverability?

  • To clarify, DMARC works by allowing you to see whether emails sent using your domain are correctly validated using SPF and DKIM. It also helps us identify and fix any authentication issues that can affect the deliverability of your emails.
  • DMARC has a positive effect on email deliverability when the domain owner improves the authentication of their email messages. Also, work on engagement and IP reputation tracking is still required to follow DMARC publication.
  • As a result, publishing a DMARC record within the domain used for email marketing can improve email deliverability. Emails that previously ended to the recipient’s spam folder are now deliverable to the primary inbox. So DMARC can prevent spoofed emails from reaching users, lower spam complaints, and protect your domain reputation with ISPs.

How does DMARC work?

Similarly, DMARC works in conjunction with DKIM and SPF to ensure that all messages on an email domain are protected by these two key authentication methods (protocols SPF & DKIM). DMARC also provides a way for the receiver to report back to the sender about messages that pass and/or fail Domain-based Message Authentication evaluation. Additionally, a sender’s Domain-based Message Authentication DNS record tells a recipient. After that, what to do if they receive an email claiming to come from a specific person, domain, or email address. Accordingly, the owner of the domain publishes a DMARC DNS Record at their DNS hosting company. With the result that, a mail server performs DKIM and SPF authentication and alignment tests to verify the sender is legitimate.

How SPF and DKIM work together with your DMARC policy.
How SPF and DKIM work together with your DMARC policy.

What do DKIM and SPF have to do with DMARC?

Similar, to SPF and DKIM, it is up to the ISP to decide what to do with the results. So that, DMARC takes it a step further by giving you complete control. over setting a policy to reject or quarantine emails from sources you do not know or trust, all based on the results of DKIM and SPF. As an illustration, DMARC allows you to tell ISPs how you want them to behave if SPF and DKIM fail or are not present. Here’s the above diagram showing how SPF and DKIM work together with your DMARC policy.

All in all, this policy resides in SPF and DKIM  and is stored in DNS. 

To point out typical DNS DMARC record will look like this:

_dmarc.domain.com TXT v=DMARC1\; p=reject\; pct=100\; rua=mailto:dmarc-reports@domain.com\;

As can be seen, this record above sets a policy to reject (p=reject) 100% (pct=100) if the email does not pass DKIM or SPF. Furthermore, you can have ISPs send aggregate reports about these decisions to an email address (rua=mailto:dmarc-reports@domain.com).

What are you required to do with DMARC reports?

ISPs that support DMARC will also generate reports on sending activity for your domain. So, the reports are XML files that are mailed to the DMARC record’s specified email address. The reports include the sending source (domain/IP) as well as whether the message passed or failed SPF and DKIM.

To emphasize, one best feature of DMARC. It not only allows you to control email security for your domain, but it also provides you with detailed information about who is sending on your behalf and whether they are signing with DKIM or passing SPF.

So A typical XML report looks like this:

<?xml version="1.0" encoding="UTF-8" ?><feedback> <report_metadata> <org_name>reported_xxxx</org_name> <email>noreply-dmarc-support@google.com</email> <extra_contact_info>http://support.google.com/a/bin/answer.py?answer=2246589</ext <report_id>0844268100791687048</report_id> <date_range> <begin>15986432000</begin> <end>1598709599</end> </date_range> </report_metadata> <policy_published> <domain>example.com</domain> <adkim>r</adkim> <aspf>r</aspf> <p>reject</p> <sp>reject</sp> <pct>100</pct> </policy_published> <record> <row> <source_ip>192.0.17.25</source_ip> <count>1</count> <policy_evaluated> <disposition>none</disposition> <dkim>pass</dkim> <spf>pass</spf> </policy_evaluated> </row> <identifiers> <header_from>example.com</header_from> </identifiers> <auth_results> <dkim> <domain>example.com</domain> <result>pass</result><selectore>1234</dkim> </spf> <domain>example.com</domain<result>pass</result> </spf> </auth_results> </record></feedback>

What is Dmarc – aggregate report (RUA)?

In this case, your DMARC aggregate report contains information about the authentication status of messages sent on your domain’s behalf. 

Accordingly, aggregate reports are free reports emailed to you. All so, it contains information about the authentication status of messages sent “from your domain. It includes details such as:
  1. The source that sent the message
  2. The message domain name
  3. Sending IP address.
  4. The number of messages sent on a specific date.
  5.  The DKIM/SPF authentication result. 
  6. Finally, your Dmarc results.

What is Dmarc – forensic report (RUF)?

With this purpose in mind, when your SPF or DKIM do not match your DMARC, a free DMARC forensic report is created and sent with information that will assist you in reading it. It contains information such as:
  1. The email “to” field 
  2. The “from” field in an email. (From address, Mail address, DKIM address.)
  3. The IP address of the sender.
  4. The email “subject” field.
  5. Authentication result (SPF, DKIM, DMARC)
  6. The message ID
  7. URLs, delivery results & ISP information.


DMARC reports: RUA and RUF
DMARC reports: RUA and RUF

How to build a DMARC record?

  • Before you set up the domain to use Dmarc you need to finish setting up and adding both SPF and DKIM to your DNS.
  • On the whole, DMARC record: is a record in which DMARC rule sets are defined. On the other hand, this record informs ISPs ( like Gmail, Microsoft, Yahoo!) In addition, if the domain is set up to use DMARC record the DMARC record contains the policy.
  • Therefore,The DMARC record must be placed in your DNS.
  • To list the TXT record name should be “_dmarc.yourdomain.com”. Where “yourdomain.com” is replaced with your actual domain name (or subdomain).

To point out an example to build a DMARC record. As mentioned above, once you have SPF and DKIM in place, you can configure DMARC by adding policies to your domain’s DNS records in the form of TXT records (just like with SPF or DKIM).

How to Add DMARC records?

After all, create new DNS TXT Records.Name=_dmarc.yourdomain.com
For example, the DMARC TXT record’s could look like this:

“v=DMARC1;p=reject;pct=100;rua=mailto:xxxx@yourdomain.com; fo=1; adkim=s; spf=s;”

DMARC Record Syntax :
To explain the syntax for DMARC records is a combination of tags separated by a semicolon at the bare minimum. To list your DMARC record value should be like this:

“tag=value;tag=value”

“v=DMARC1;p=reject;”

To illustrate the below table outlines all the DMARC tags:
Tag Req. or Opt. DescriptionExample
vRequiredProtocol versionv=DMARC1
pRequiredHow to handle messages that fail DMARCp=none

p=quarantine

p=reject
spOptionalSimilar "p" tag (above) but for subdomains.sp=none

sp=quarantine

sp=reject
pct Optional% of email policy applied too.p=100
ruaOptionalWhere to send aggregate DMARC reportsrua=mailto:emailTO
rufOptionalWhere to send forensic DMARC reportsruf=mailto:emailTO
foOptionalGet email samples for messages that fail
SPF and /or DKIM. 4 Values:
"0" if SPF and DKIM Fail. (Default).
"1" if SPF or DKIM failures.
"d" DKIM Failures
"S" SPF failures
fo=0
fo=1
fo=d
fo=s
fo=0:1:d:s
aspf OptionalStrict or relaxed SPF identifier alignment.
default relaxed.
aspf=r
aspf=s
adkim OptionalStrict or relaxed DKIM identifier alignment.
Default is relaxed.
adkrim=r
adkim=s
rfOptionalGet email samples for messages that fail
SPF and/or DKIM. 4 Values:
"0" if SPF and DKIM Fail. (Default).
"1" if SPF or DKIM failures.
"d" DKIM Failures
"S" SPF failures
fo=0
fo=1
fo=d
fo=s
fo=0:1:d:s
riOptionalAggregate Reports interval.
Value in seconds. Specify the interval

between when reports should be sent.
Default is 86,400 seconds.
(24 hours, Minimum value)
ri=86400
DMARC record – Syntax

Recommend Tag: “v=DMARC1;p=reject;rua=mailto:emailTO;"
Tag Req. or Opt. DescriptionExample
VRequiredProtocol versionv=DMARC1
pRequiredHow to handle messages that fail DMARCp=none

p=quarantine

p=reject
ruaOptionalWhere to send aggregate DMARC reportsrua=mailto:emailTO
DMARC record – Syntax

Recommend Tag: "v=DMAR1;p=reject;fo=1"
Tag Req. or Opt. DescriptionExample
VRequiredProtocol versionv=DMARC1
pRequiredHow to handle messages that fail DMARCp=none

p=quarantine

p=reject
foOptionalGet email samples for messages that fail
SPF and/or DKIM. 4 Values:
"0" if SPF and DKIM Fail. (Default).
"1" if SPF or DKIM failures.
"d" DKIM Failures
"S" SPF failures
fo=0
fo=1
fo=d
fo=s
fo=0:1:d:s
DMARC record – Syntax

Recommend Tag: "v=DMRC1;p=reject;aspf=s"
Tag Req. or Opt. DescriptionExample
VRequiredProtocol versionv=DMARC1
pRequiredHow to handle messages that fail DMARCp=none

p=quarantine

p=reject
aspsOptionalStrict or relaxed SPF identifier alignment.
default relaxed.
aspf=r
aspf=s
DMARC record – Syntax

Recommend Tag: "v=DMAR1;p=reject;ri=86400
Tag Req. or Opt. DescriptionExample
VRequiredProtocol versionv=DMARC1
pRequiredHow to handle messages that fail DMARCp=none

p=quarantine

p=reject
riOptionalAggregate Reports interval.
Value in seconds. Specify the interval

between when reports should be sent.
Default is 86,400 seconds.
(24 hours, Minimum value)
ri=86400
DMARC record – Syntax

Why should you test your DMARC record?
  1. Firstly test to see if your record was published correctly.
  2. Secondly Prevent mistakes in the formatting of your record
  3. Thirdly get more information about the possible extra parameters
  4. Fourthly find out where your DMARC reports are being sent.
  5. Finally check where your DMARC reports are being sent to.

How to validate DMARC record?

Most important, once you have set up your DMARC values, we need to validate them if you did it correctly. (using the free tool DMARC validator).

Therefore, Let us go ahead with the free tool DMARC validator:

DMARC record checker
DMARC record checker

Conclusion

In conclusion, DMARC (Domain-based Message Authentication, Reporting, and Conformance) is a standard that prevents spammers from using your domain to send email without your permission. With this in mind, the good news is DMARC is open for anyone to use. And also, you can use the free tool DMARC validator

To put it another way, allowing you to secure your domain’s emails while gaining control over email delivery. To summarize, DMARC can prevent spoofed emails from reaching users, lower spam complaints, and protect your domain reputation with ISPs. In addition, a sender’s DMARC DNS record tells a recipient what to do if they receive an email claiming to come from a specific person, domain, or email address.