20% off every kit until 31 December. Code SAVE20 is added for you at checkout.

← All guides & playbooks

Engineering guide · Reviewed 30 November 2026

How to migrate DNSSEC RSA to ECDSA without breaking DNS

Keep a valid chain of trust from the parent DS to the zone’s keys throughout the rollover. Add the new signing algorithm before advertising it at the parent, allow caches to expire, then retire RSA. A mismatched DS can make a healthy website disappear for validating resolvers.

About 5 seconds. No signup. Public endpoints only; internal systems and private keys need a separate inventory.

Read the algorithm, not just the padlock

DNSSEC signs DNS records. Its keys are separate from your HTTPS certificate and DKIM email keys. Changing one does not rotate the others.

Algorithm 8: RSASHA256

RSA signatures with SHA-256. A DNSKEY using 8 still depends on RSA; the hash name does not remove that dependency.

Algorithms 13 and 15

13 is ECDSAP256SHA256; 15 is ED25519. Both use elliptic curves and remain classical. Check registrar, signer and validator support before choosing either.

The IANA DNSSEC algorithm registry defines the numbers. Your scan above observes public DNSSEC information; it does not change your zone or replace independent chain validation.

1. Inventory the authoritative keys and the parent DS

dig +dnssec example.com DNSKEY
dig +dnssec example.com DS
dig +dnssec example.com SOA
dig +short example.com NS
# Replace with EACH authoritative server returned above:
dig @ns1.your-provider.example example.com DNSKEY +dnssec
# Check a validating recursive resolver too:
dig @1.1.1.1 example.com A +dnssec

Use your real zone apex. In DNSKEY 257 3 8 ..., 257 is the flags field, 3 is the protocol and 8 is the signing algorithm. In DS 12345 13 2 ..., 12345 is the key tag, 13 is the key algorithm and 2 is the digest type (SHA-256). An RSA key may have a SHA-256 DS digest.

Check the parent zone’s authoritative DS directly as well as recursive answers. Record DNSKEY, data/RRSIG, negative-cache and DS TTLs, signature validity windows and maximum propagation time. Empty recursive output alone does not prove a delegation is unsigned. Keep the current signing state and registrar settings as your rollback record.

A recursive response with the ad flag indicates that resolver validated the answer under its policy; dig +dnssec alone asks for DNSSEC records and does not validate them locally. Check more than one independent validating resolver and investigate SERVFAIL before moving on.

2. Use an overlapping algorithm rollover

Follow your signer’s supported rollover and the conservative timing in RFC 6781, section 4.1.4:

  1. Publish new signatures first. Generate ECDSA keys and add their signatures over the zone’s RRsets while retaining RSA signatures and the existing DNSKEY set. Wait for old data/RRSIG caches to expire before advertising the new algorithm in DNSKEY.
  2. Publish the new DNSKEYs. Include the new KSK/ZSK and sign the DNSKEY RRset with both algorithms. Check every authoritative server; wait for old DNSKEY caches to expire.
  3. Add the new parent DS. Verify its key tag, algorithm and digest against the new KSK. Retain the old DS during overlap. Confirm parent publication and wait out the previous DS TTL.
  4. Remove the old DS. Prove validation through ECDSA first. Keep old signing material available until cached RSA DS records expire.
  5. Retire old keys, then signatures. Remove RSA DNSKEYs; retain RSA signatures until cached old DNSKEY sets expire. Then stop RSA signing.

Include propagation margins in every wait. Save validation checks and rollback state. A nameserver move needs additional provider coordination.

3. Check what your DNS provider actually supports

Cloudflare

Cloudflare manages signing and supplies the DS to publish at your registrar. Its DNSSEC setup guide distinguishes ordinary onboarding from a coordinated signed migration. Do not assume you can upload arbitrary private keys or perform a double-signing rollover on every plan. Check the generated algorithm and supported migration path before changing nameservers.

AWS Route 53

Route 53’s managed zone signing uses ECDSAP256SHA256 (algorithm 13); this is not an arbitrary RSA-to-ECDSA toggle. Its KSK uses an appropriate customer-managed KMS key, and the parent DS still needs updating. Follow AWS’s signing guidance and registrar DS instructions. Moving an RSA-signed zone from elsewhere is a provider migration too.

Google Cloud DNS

Google’s advanced DNSSEC options allow algorithm selection before enabling signing. For an already signed zone, the documented settings change requires disabling and re-enabling DNSSEC. Do not present this as an automatic continuous double-signing rollover.

If your provider requires disabling signing, first remove the DS at the parent while the old zone remains signed and wait for cached DS records to expire. Only then disable signing, change the configuration and re-enable it. Validate the new signed zone before adding its new DS. This deliberately introduces an unsigned interval; agree that tradeoff or choose a supported continuous rollover. Never stop signing while a cached parent DS still requires the old chain.

4. Record what changed and what remains

Save before/after DNSKEY and DS answers, key tags, TTL wait windows, authoritative-server checks and validating-resolver results. Alert on DNSSEC validation failures and expiring signatures. If the new chain fails, restore the last compatible state while respecting already-published parent records and cached answers.

ECDSA and Ed25519 remove RSA exposure here. They do not make DNSSEC post-quantum, and DNSSEC does not encrypt traffic. Continue the inventory with SSH keys, OIDC signing and the NIST post-quantum standards. Browse all guides and playbooks for the next system you own.

Choose your next step

The free check is a starting point. Get the instructions, the evidence to send, or help with the review.

Fix-It Kit

£31.20was £39 + VAT

Fix what you control with your developer or AI coding tool. Includes a tailored checklist, prompts and read-only checks.

Buy the Fix-It Kit

Evidence Pack

£79.20was £99 + VAT

Put your findings in writing: a six-page PDF, editable customer and board documents, plus the complete Fix-It Kit.

Buy the Evidence Pack

Zero-Access Review

£1,500 + VAT

A fixed-fee engineering review of what a public scan cannot see. We never log in to your production systems.

Book a review

Questions engineers ask

How do I check whether my domain’s DNSSEC uses RSA?

Run dig +dnssec example.com DNSKEY and dig +dnssec example.com DS. In DNSKEY data, the third numeric field is the signing algorithm: 8 is RSASHA256, 13 is ECDSAP256SHA256 and 15 is ED25519. A DS record’s second numeric field is the key algorithm. Its third field is a digest type, not the signing algorithm.

Can I replace an RSA DNSKEY with ECDSA in one edit?

No. Cached keys, signatures and the parent DS must remain compatible throughout the change. Use a provider-supported algorithm rollover with overlapping signatures and staged DS updates, or an explicitly planned period without DNSSEC after the old parent DS has expired from caches.

Are ECDSA or Ed25519 DNSSEC post-quantum?

No. They remove RSA dependence but remain classical signature algorithms. A DNSSEC signature also authenticates DNS data; it does not encrypt DNS queries or web traffic.

Does the free PostRSA scanner validate the whole DNSSEC chain?

It observes DNSSEC records and their algorithm signals for the public hostname. Treat this as an inventory starting point, not proof that every authoritative server or recursive resolver validates the full chain. Confirm the parent DS, signatures, TTLs and resolver behavior independently.

PostRSA Checkout

Checkout

Total

Billing
Have a promo or referral code?

Payment is processed by Stripe. See terms and privacy.

Fixed fee · Paid securely via Stripe · No production access required