How to set up a DMARC record for Private Email

DMARC (Domain-based Message Authentication, Reporting and Conformance) is an email authentication protocol that helps protect your domain from spoofing and phishing. It works together with SPF and DKIM: SPF identifies the servers IPs authorized to send emails for your domain, while DKIM adds a digital signature to your messages. DMARC instructs receiving mail servers what to do if both SPF and DKIM checks fail. Depending on how your DMARC record is configured, receiving mail servers can take no action, mark emails as spam, or reject them if they fail DMARC checks.

To set up DMARC for your domain, you need to choose a policy and add a TXT record to your domain's DNS settings.

NOTE: Major email providers, including Gmail, Yahoo Mail, iCloud Mail, and Outlook.com, recommend all sending domains to have DMARC. Explicitly they require bulk senders to have a DMARC record. For Gmail and Outlook.com, this generally applies to senders who send 5,000 or more emails per day to their users. If a required DMARC record is missing, emails may be marked as spam or rejected.


DMARC record values

A DMARC record may look like this:

  • Host: _dmarc

  • Record type: TXT

  • Value: v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.tld

In this example:

  • v=DMARC1 identifies the DMARC protocol and is required.

  • p=quarantine is the selected policy. You can replace it with p=reject or p=none depending on your needs. See the next section to learn more about each policy.

  • rua=mailto:dmarc@yourdomain.tld specifies the email address that receives DMARC reports. Replace dmarc@yourdomain.tld with your actual email address and make sure it exists.

NOTE: Receiving DMARC reports is optional. If you don't want to receive them, you can remove the rua tag. In this case, your DMARC record may look like this:

v=DMARC1; p=quarantine

If you prefer, you can also generate a record with your own settings using online tools such as the MxToolbox DMARC Record Generator.


What DMARC policies mean and which one to choose

The DMARC policy is defined by the p= tag in your DNS record. It tells receiving mail servers how to handle emails that fail DMARC authentication checks.

There are three available policies:

p=none

No action is requested from receiving mail servers. Emails are handled according to the recipient's mail server rules. This policy allows you to monitor DMARC authentication results through reports, if configured, but does not provide active protection against spoofing.

p=quarantine

Receiving mail servers are asked to treat emails that fail DMARC authentication as suspicious. These emails are usually placed in the recipient's Spam/Junk folder.

p=reject

Receiving mail servers are asked to reject emails that fail DMARC authentication, preventing them from being delivered to recipients.


Which policy should I choose?

We recommend using p=quarantine or p=reject to protect your domain from spoofing and phishing.

NOTE: The p=reject policy may affect the delivery of legitimate emails, especially when using third-party services (such as Mailchimp or CRM platforms) or email forwarding. Additional configuration may be required to ensure these emails pass DMARC authentication and are not rejected.


How to add the record

Where to add the DMARC record depends on the nameservers your domain is pointed to.

NOTE: Only one DMARC record is allowed per domain, regardless of where its DNS zone is managed. If a DMARC record already exists, edit it instead of adding a new one. Having multiple DMARC records for the same domain will prevent any of them from working correctly.

If your domain is on our BasicDNS, PremiumDNS or FreeDNS, add the record in your Namecheap account:

  1. Sign in to your Namecheap account.

  2. Select Domain List from the left sidebar and click on Manage next to your domain:

  3. Navigate to the Advanced DNS tab and find the Host Records section:

  4. Click on the Add New Record button and select TXT Record from the drop-down menu:

  5. Fill in the fields:

    • Host: _dmarc

    • Value: Enter the DMARC value with your chosen policy (p=none, p=quarantine or p=reject). The example below uses p=quarantine.

    • TTL: Automatic

  6. Click on the Save Changes (green checkmark) icon to save the record:

If your domain is pointed to our Web Hosting DNS (dns1.namecheaphosting.com and dns2.namecheaphosting.com), the TXT record should be added manually in your hosting cPanel using the same details: the _dmarc host, the TXT record type and your DMARC value.

For domains on third-party nameservers, the TXT record should be set up on the side of your current DNS provider.

Normally, it takes up to 60 minutes for the changes to come into effect.


How to check if a record is set up correctly

To make sure the record works, check it with the MxToolbox DMARC Lookup: enter your domain name, and the tool will show your policy and warn about common mistakes, such as several DMARC records for one domain.

If you have specific questions or concerns about DMARC, it is best to contact our Support Team.

Updated
Viewed
401 times

Need help? We're always here for you.

notmyip