How to Add a DMARC Record in cPanel
A DMARC record is used to validate emails in order to prevent email spoofing. DMARC -which stands for Domain-based Message Authentication and Conformance- is a record that is defined in the DNS records associated with your domain name. The DMARC record contains a set of rules that work with SPF and DKIM records to best provide security for your email. The record also lets mail service providers like Gmail or Yahoo! know that the domain is using DMARC rules. The following tutorial will guide you through the setup of a DMARC record using the cPanel Zone Editor.
Setting up a DMARC Record
- Login to cPanel.
- Click on Zone Editor under Domains.
- You will see a list of domains that are being managed by your cPanel account. Click on Manage next to the domain for which you will add the DMARC record.
- You will then a page with the Zone records associated with the domain you have selected. Click on the blue button labeled Add Record.
- You will see a blue-highlighted field where you can add a record. Click on the drop-down arrow under the column labeled Type. Select TXT.
- The default value of TTL should be left at 14400. Click on the field labeled Valid zone name. Type in _dmarc and then hit your tab key. This will auto-fill the zone name and it will look like this: _dmarc.example1.com. The table below lists all of the settings in the record.
Field Setting Name _dmarc TTL 14400 Type TXT TXT Data In this field you must choose how you want recipient servers to handle email from your domain that fails SPF/DKIM validation. Options are outlined below in red:
v=DMARC1; p=none; sp=none; rf=afrf; pct=100; ri=86400
v=DMARC1; p=reject; sp=none; rf=afrf; pct=100; ri=86400
v=DMARC1; p=quarantine; sp=none; rf=afrf; pct=100; ri=86400
Alternately, you can request an email report of failed DMARC validations by adding a valid email address, such as the following:None:
v=DMARC1; p=none; sp=none; ruf=mailto:firstname.lastname@example.org; rf=afrf; pct=100; ri=86400
v=DMARC1; p=reject; sp=none; rf=afrf; pct=100; ruf=mailto:email@example.com; ri=86400
v=DMARC1; p=quarantine; sp=none; ruf=mailto:firstname.lastname@example.org; rf=afrf; pct=100; ri=86400
- Click Add Record to save your record. You will then see your entry listed in the Zone Records for the domain.
Congratulations! You have completed the steps on how to add a DMARC record to your domain's DNS records.
As per the note at the beginning of this tutorial, the DMARC record can be generated from a number of places. For more information on DMARC, check out the DMARC.ORG page. They provide history, an in depth explanation of DMARC and a list of resources that can help you properly deploy it.
Are you a small business? Then you know that having your emails successfully delivered to the recipients is only half the battle with email marketing. InMotion's Shared Business Hosting plans include a number of helpful tools to take your email marketing game to the next level.
You are NOT logged in. You can still browse our Support Center.
To participate within our Community Support Forum:
2019-03-26 9:31 am
When I am in the Zone Editor and add the DMARC record, when I click save, it says it saves, but when I click on the zone and edit to review the saved record, the record is not saved correctly. It cuts off everything except v=DMARC1Everything after that including the ; is cut off.Just as a test I copied one of your examples above and pasted it into the editor and saved the record and the same issue presented itself. Either your editor is broken or this help article is outdated.
2019-03-26 10:12 am
I regret to hear you're having that issue. However, I was not able to replicate it in a test environment. I'd advise contacting Live Support so they may replicate the issue in your account.
2019-04-03 3:37 am
You need to put the code inside " "
had the same problem