Enable DNSSEC on cPanel WHM Server

This article provides a guide demonstrating how to enable DNSSEC on cPanel WHM server.

Enable DNSSEC on WHM Server

To enable DNSSEC on WHM server, follow the guide below:

Prerequisites

  • Nameserver: PowerDNS enabled (WHM » Service Configuration » Nameserver SelectionPowerDNS).
  • Time sync: NTP/chrony healthy.
  • If using a DNS cluster, all authoritative nodes must run PowerDNS.

To enable DNSSEC on WHM server, follow the guide below:

  1. Enable & Configure (once per server)

    1. WHM » DNS Functions » DNSSEC Key Management → click Enable DNSSEC (if prompted).
    2. Set defaults (recommended):
      • Key Algorithm: ECDSAP256SHA256 (Algorithm 13)
      • Digest Type: 2 (SHA-256)
  2. Sign a Domain (per zone)

    1. WHM » DNS Functions » DNSSEC Key Management → select the domain.
    2. Click Generate Keys & Sign Zone.
    3. Copy the DS record (Key Tag, Algorithm, Digest Type, Digest).
  3. Publish DS at Registrar (per domain)

    • In the registrar’s DNSSEC panel, add the DS exactly as shown by WHM.
    • Save.
  4. Verify

    dig +dnssec example.com A @8.8.8.8
    delv example.com A
    
    • AD flag or delv “secure” ⇒ good.
    • SERVFAIL after adding DS ⇒ remove DS, re-sign, re-add DS.
  5. CLI/API (optional)

    # Sign
    whmapi1 enable_dnssec domain=example.com
    # Show DS/keys
    whmapi1 get_domain_dnssec domain=example.com
    # Rollover
    whmapi1 rollover_dnssec_keys domain=example.com
    
  6. Key Rollover (best practice)

    1. whmapi1 rollover_dnssec_keys domain=example.com
    2. Publish the new DS at the registrar.
    3. After TTLs pass, remove the old DS.
  7. Common Pitfalls

    • DS published before zone is signed.
    • Wrong Digest Type (use 2/SHA-256 unless registrar requires otherwise).
    • Mixed nameservers where some don’t serve signed zones.
    • Clock skew on server.

Conclusion

You now know how to enable DNSSEC on cPanel WHM server.

  • dnssec, dns, cpanel
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Guide to Domain EPP Status Codes

EPP Status Codes are used by the Domain Registry to signify the status of a particular domain...

Addon Domain Vs Alias Domain

The table below lists some key characteristics of Addon Domain and Alias Domain....

Disable Network Manager on CentOS 7

This article will provide the steps to disable Network Manager in CentOS 7. Network Manager is...

Disable Network Manager on CentOS 6

This article will provide the steps to disable Network Manager in CentOS 6. Network Manager is...

Video: How to Setup Domain Redirects in cPanel

This video tutorial provides Step-by-Step instructions how to setup domain redirects in cPanel...