• DevOps
    Case Study

    How we built a resilient multi-account, multi-cloud solution for a Health Tech service provider!

    READ CASESTUDY
    icon

    24/7 DevOps as a Service

    Round-the-clock DevOps for uninterrupted efficiency.

    icon

    Infrastructure as a Code

    Crafting infrastructure with ingenious code.

    icon

    CI/CD Pipeline

    Automated CI/CD pipeline for seamless deployments.

    icon

    DevSecOps

    Integrated security in continuous DevOps practices.

    icon

    Hire DevOps Engineers

    Level up your team with DevOps visionaries.

    icon

    Consulting Services

    Navigate success with expert DevOps consulting.

  • TechOps
    Case Study

    How we built a scalable Odoo solution for a Travel Tech service provider!

    READ CASESTUDY

    WEB HOSTING SUPPORT

    icon

    HelpDesk Support

    Highly skilled 24/7 HelpDesk Support

    icon

    Product Support

    Boost your product support with our expertise.

    MANAGED SERVICES

    icon

    Server Management

    Don’t let server issues slow you down. Let us manage them for you.

    icon

    Server Monitoring

    Safeguard your server health with our comprehensive monitoring solutions.

    STAFF AUGMENTATION

    icon

    Hire an Admin

    Transform your business operations with our expert administrative support.

    icon

    Hire a Team

    Augment your workforce with highly skilled professionals from our diverse talent pool.

  • CloudOps
    Case Study

    How we helped a Private Deemed University in India, save US $3500/m on hosting charges!

    READ CASESTUDY
    icon

    AWS Well Architected Review

    Round-the-clock for uninterrupted efficiency

    icon

    Optimize

    Efficient CloudOps mastery for seamless cloud management

    icon

    Manage

    Automated CI/CD pipeline for seamless deployments

    icon

    Migrate

    Upgrade the journey, Migrate & Modernize seamlessly

    icon

    Modernize

    Simplify compliance complexities with our dedicated services

    icon

    FinOps as a Service

    FinOps as a Service

  • SecOps
    Case Study

    How we built a scalable Odoo solution for TravelTech service provider!

    READ CASESTUDY
    icon

    VAPT

    Vulnerability Assessment and Penetration Testing

    icon

    Source Code Review

    Ensuring source code security ans safe practices to reduce risks

    icon

    Security Consultation

    On demand services for improving server security

    icon

    System Hardening

    Reduced vulnerability and proactive protection

    icon

    Managed SoC

    Monitors and maintains system security. Quick response on incidents.

    icon

    Compliance as a Service

    Regulatory compliance, reduced risk

  • Insights
    Case Study

    How we helped a Private Deemed University in India, save US $3,500/m on hosting charges!

    READ CASESTUDY
    icon

    Blog

    Explore our latest articles and insights

    icon

    Case Studies

    Read about our client success stories

    icon

    Flipbook

    Explore our latest Flipbook

    icon

    Events

    Join us at upcoming events and conferences

    icon

    Webinars

    Watch our educational webinar series

  • Our Story
  • Contact Us

Interested to collaborate?

Get in touch with us!

Ready to elevate your business with certified cloud expertise? Contact us today to learn how our team can help you leverage cloud technology to drive growth, streamline operations, and enhance security.

  • AWSAWS
  • Azure CloudAzure Cloud
  • Google CloudGoogle Cloud
  • Akamai CloudAkamai Cloud
  • OVHOVH
  • Digital OceanDigital Ocean
  • HetznerHetzner
  • Kubernetes Consultancy Services
  • K8s & Cloud native Solutions
  • 24/7 Infrastructure Monitoring
  • DevOps as a Service
  • Cloud CI/CD Solutions
  • White Labeled MSP Support
  • Our story
  • Life@SupportSages
  • Insights
  • Careers
  • Events
  • Contact Us

Connect with us!


LinkedInFacebookXInstagramYouTube

aws partneraws advanced partner
SupportSages

Copyright © 2008 – 2026 SupportSages Pvt Ltd. All Rights Reserved.
Privacy PolicyLegal TermsData ProtectionCookie Policy

Adding DMARC record in cPanel/WHM

Glenn Max

  • 5 min read
Adding DMARC record in cPanel/WHM

Generating audio, please wait...

DMARC stands for Domain-based Message Authentication and Conformance. A DMARC policy allows a sender’s domain to indicate that their emails are protected by records like SPF, DKIM, etc. and tells a receiver what to do if neither of those authentication methods passes – such as to reject the message or quarantine it. The policy can also specify how an email receiver can report back to the sender’s domain about messages that pass and/or fail. DMARC records are published as DNS record in domain’s DNS.

Fields in the DMARC record:

The different fields in the DMARC record are given below.

v=
It specifies the protocol version applicable to this record. In the case of DMARC, it is DMARC1.

p=
The value of parameter p defines the policy the sending MTA advises the receiving MTA to follow. It may take one of the following values.
    none -  No specific advice is offered to the receiving MTA.
  quarantine - Advises the receiving MTA to treat any email that fails any DKIM and/or SPF checks as suspicious and perform additional checks or mark the mail as suspected SPAM or whatever local policy is in operation.
    reject - Advises the receiving MTA to reject any email that fails any DKIM and/or SPF checks.

sp=
The parameter sp can take the same values as that of the p. The value of sp present in the dmarc record advices the policy to be followed by the receiving MTA in the case of the subdomains. If this value is absent then the policy defined for domain ie. p is taken into consideration.

rf=
This defines the reporting format the sending MTA requests from the receiving MTA. This may take the following values.
    afrf - Message format for error reporting (Abuse Report format) is defined by RFC 5965.
    iodef - Message format for error reporting (Incident Object Description Exchange Format) is defined by RFC 5070.

pct=
Defines the percentage of mail to which the DMARC policy applies. If omitted defaults to pct=100 (100%), all mail is subject to DMARC processing.

ri=
Defines the time in seconds between reports requested from the receiving MTA. Receiving MTAs must be able to send daily (86400) reports and should be able to send hourly (3600) reports.

ruf=
If not present detailed failure reports will not be sent from the receiving MTA. URLs must be of the format mailto:[email protected].

DMARC records

Name: _dmarc
TTL : 14400
Type: TXT

Following records specifies how the recipient should handle the emails from a domain if it fails SPF/DKIM check.

No Action: This record specifies that no action is to be taken if the email fails in SPF/DKIM check.

v=DMARC1; p=none; sp=none; rf=afrf; pct=100; ri=86400

Reject: This record specifies to reject the emails from the domain if the email fails in SPF/DKIM check.

v=DMARC1; p=reject; sp=none; rf=afrf; pct=100; ri=86400

Quarantine: This record specifies whether no action needs to be taken if the SPF/DKIM check is failed.

v=DMARC1; p=quarantine; sp=none; rf=afrf; pct=100; ri=86400

To get an email report of failed DMARC validations, the email address can be added along with this record in order to get notified when emails sent from domain fails SPF/DKIM check. Replace the email address in the record with a valid email address.

No Action: v=DMARC1; p=none; sp=none; ruf=mailto:[email protected]; rf=afrf; pct=100; ri=86400

Reject: v=DMARC1; p=reject; sp=none; rf=afrf; pct=100; ruf=mailto:[email protected]; ri=86400

Quarantine: v=DMARC1; p=quarantine; sp=none; ruf=mailto:[email protected]; rf=afrf; pct=100; ri=86400

Adding DMARC record for a domain in WHM.

1. Login to WHM.

2. Go to DNS Functions >> Edit DNS Zone >> Choose a Zone to Edit >> Edit.

3. New records can be added under the field “Add New Entries Below this Line”.

4. Select TXT Record from the drop-down field and keep the TTL value to default.

5. Add the suitable DMARC records and click “Save” on the bottom left of the page.

Adding DMARC record for a domain in cPanel.

1. Login to cPanel.

2. Click on Zone Editor under Domains.

3. 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.

4. You will then redirected to a page which contains zone records associated with the domain. To add a new record to this zone select “Add Record”.

5. From the drop-down menu select TXT record and enter the suitable DNS record. Click Add Record to save your record.
Adding DMARC record from the backend of the server.

This method is not recommended, please proceed with care.

In order to add the record directly from the backend of the server please follow the steps below. The zone file is stored as a database file with name format like domain.com.db.  In this case, DNS is served by bind/named so the location of the zone file will be /var/named.

Change the present working directory to /var/named.

cd /var/named

For example, the DMARC record needs to be added for the domain example.com, then open the zone file named example.com.db using a text editor.

vi example.com.db

Now add the appropriate DMARC record to the zone file.

_dmarc 14400 IN TXT "v=DMARC1; p=none; sp=none; rf=afrf; pct=100; ri=86400"

Increment the serial number of the zone file to indicate that the zone file is updated. Save and exit from the text editor.

Now restart the DNS service.

service named restart

cPanel Server Management
Get rid of all the hassles of server management. Our server management services include server hardening, 3rd party software installations, 24/7 server monitoring, reboot assistance, server migrations, backup configuration – by entrusting the management of your with SupportSages.

  • cPanel

Automated Start/Stop of EC2 instances using Lambda and CloudWatch

Automated Start/Stop of EC2 instances using Lambda and CloudWatch
  • Linux
logo

Creating an AWS instance

Creating an AWS instance
  • Sever management
logo

Socks5 proxy server setup with 3proxy

Socks5 proxy server setup with 3proxy
  • Linux
  • server
logo
Adding DMARC record in cPanel/WHM

Posts by Glenn Max

Glenn Max