Knowledgebase

How to set up DNSSEC for your domain

DNSSEC adds a digital signature to your DNS records so that resolvers can check the answers really come from your DNS provider and were not changed on the way. This guide explains how to set up DNSSEC for your domain, where each part goes, and the one mistake that can take a domain offline.

How DNSSEC works in two parts

  • At your DNS host (the provider whose nameservers your domain uses): the zone is signed and a DNSKEY is published.
  • At your registrar: a DS record that matches that key is sent to the registry, so the chain of trust reaches your domain.

Both parts must match. If the DS record exists at the registry but the zone is not signed with the matching key, resolvers that validate DNSSEC treat the domain as broken.

Option 1: DNS hosted on Cloudflare

  1. In the Cloudflare dashboard, open your domain and go to the DNS settings.
  2. Find DNSSEC and enable it. Cloudflare shows the DS record details: key tag, algorithm, digest type and digest.
  3. Send these values to EgWeb support in a ticket (or add them in the client area if a DNSSEC option appears for your domain).
  4. Wait until Cloudflare shows DNSSEC as active. This can take some time after the DS record is published.

Option 2: DNS hosted on your cPanel server

  1. Log in to cPanel and look in the Domains section for a DNSSEC option. It only appears when the server's DNS software supports it.
  2. Create a key for the domain and activate it. cPanel then shows the DS record values.
  3. Send the DS values to EgWeb support so they can be added at the registry.

If you do not see the DNSSEC option in cPanel, open a ticket and we will tell you whether it can be enabled for your account.

Important: before you change nameservers or move DNS to another provider, disable DNSSEC and remove the DS record first, then wait for the change to spread. Moving DNS while an old DS record is still published makes the domain fail for many visitors.

How to check DNSSEC

Use an online tool such as DNSViz or Verisign's DNSSEC Analyzer, or run these commands:

dig +dnssec example.com A
dig example.com DS +short

If a validating resolver returns the ad flag, the answer was verified. An empty DS result means the DS record is not published yet.

Common problems

  • SERVFAIL after enabling DNSSEC: the DS record does not match the key, or the zone moved to new nameservers. Remove the DS record and set it up again.
  • The extension does not support DNSSEC: not every registry accepts DS records. Ask support about your extension.
  • The site works for some people and not others: resolvers that do not validate DNSSEC still answer, so problems can appear only on some networks.

Frequently asked questions

Do I need DNSSEC?

It is optional. It protects against forged DNS answers, which matters most for banks, shops and well-known brands. For many small sites it is a nice extra, not a must.

Does DNSSEC encrypt my DNS?

No. It signs the records so they can be verified. It does not hide them.

Does DNSSEC affect my email or SSL?

Not if it is set up correctly. A broken DNSSEC setup affects everything, which is why the DS record must match. See DNS records explained and DNS propagation.

Need help? Open a support ticket or message us on WhatsApp +20 127 113 3655.

  • dnssec, ds record, dnskey, dns security, cloudflare dnssec

Was this answer helpful?

0 Users Found This Useful