Domains and DNS
What DNSSEC is and how to set it up in cPanel
What DNSSEC is
When you visit a website, your computer asks the DNS servers which IP the domain points to. That system is based on trust: if someone tampers with the answer (for example, on a compromised network), they can send you to a fake server without you noticing and steal your login details with phishing.
DNSSEC adds digital signatures to DNS answers. Resolvers that validate DNSSEC check that the zone's signature matches the key published in the domain's registry. If someone alters the answer, the signature does not match and the answer is discarded.
DNSSEC does not encrypt queries or replace the SSL certificate: it protects the authenticity of the DNS answer.
How to enable it
There are two steps and both are needed:
- Create the key on the domain's DNS servers, in this case in cPanel. This signs the zone.
- Add the public key at the domain's registrar. This «pairs» the zone with the registry.
This guide applies when the domain uses your hosting's DNS. If it uses Cloudflare, follow DNSSEC on domains that use Cloudflare.
1. Create the key in cPanel
In cPanel, go to Zone Editor. You will see the list of domains with several options next to them; click DNSSEC on the domain you want to protect.

At the top right, click Create Key.

A window opens with the keys it is going to generate. Leave the recommended values and click Create. Note down the algorithm it shows (in the screenshot, RSA/SHA-256, algorithm 8): you will need it at the registrar.

If the domain is registered with another provider, first check which algorithms it supports and click Customize to choose a compatible one.
When you return to the domain's DNSSEC page you will see two keys: KSK and ZSK.

Expand the KSK, click Public DNSKEY and copy the key with the Copy button. Do the same with the ZSK if your registrar asks for it.

2. Add the key at the registrar
If the domain is registered with us, follow how to add the DNSSEC key to a domain. In the form you choose the algorithm and paste the KSK public key (the ZSK is optional). Paste only the key, not the full DNSKEY line or the DS record.
If the domain is with another registrar, it may ask for the DS record instead of the public key (key tag, algorithm, digest type and digest). On cPanel's DNSSEC page you will find them under the KSK's View DS Records button.
Check that it works
After a few hours, analyse the domain with DNSViz or Verisign's DNSSEC Analyzer. The chain should show green from the extension (.com, .es...) down to your domain.
If it shows red or the website stops loading with a SERVFAIL error, the usual cause is that the registrar's key does not match cPanel's: check that you copied the right KSK and the right algorithm. Do not delete the key in cPanel to «fix» it: that leaves the domain unable to resolve for anyone who validates DNSSEC.
Turn off DNSSEC or change DNS provider
The order matters:
- First remove the key at the domain's registrar.
- Wait at least 24-48 hours for the previous information to expire.
- Then delete the keys in cPanel > Zone Editor > DNSSEC.
If you do it the other way round, or move the domain's DNS to another provider while leaving the old key at the registrar, the domain will stop resolving for many users. If you are migrating, also see how to change DNS with minimal disruption.
You may also find useful
- Add DNSSEC keys to a domain at Hostsuar Complete the registrar's DNSSEC link with the correct public key and check it is published before ch...
- Look up a domain's records with Track DNS Use cPanel's Domain Lookup to query a domain and tell caching, missing records and resolution failur...
- Set up DNSSEC on a domain that uses Cloudflare Enable DNSSEC in Cloudflare and link its key to the domain at Hostsuar, without confusing the public...
- Bring your website to the hosting while keeping email with another provider Point only your domain's website to your hosting and leave email where it is: the MX to its own reco...
Something wrong or out of date? Tell us and we will review it.