dnssec.in › Learn › DNSSEC algorithms
Learn DNSSEC

DNSSEC algorithms

Table of DNSSEC algorithm numbers (5, 7, 8, 10, 13, 14, 15, 16) with the RFC 8624 recommendation for signing. Which algorithm to pick for a new zone.

Every DNSKEY, RRSIG and DS record names its algorithm by number. RFC 8624 says which ones a signer should use today:

NumberNameFor signing (RFC 8624)
5RSASHA1Not recommended
7RSASHA1-NSEC3-SHA1Not recommended
8RSASHA256Must be supported
10RSASHA512Not recommended
13ECDSAP256SHA256Must be supported
14ECDSAP384SHA384May be used
15ED25519Recommended
16ED448May be used

Which one for a new zone?

13 (ECDSA P-256) is the usual choice: small keys and signatures, so answers fit in one UDP packet, and every validating resolver supports it. 8 (RSA/SHA-256) is still widespread and safe, but the records are much larger. 15 (Ed25519) is a good choice where your DNS host and registrar support it.

Avoid 5 and 7 (SHA-1). Some systems no longer accept SHA-1 signatures, so a zone signed with them can fail to validate.

Our checker shows the algorithm of the first DNSKEY it finds. Changing algorithm is a key rollover with extra steps: see KSK, ZSK and rollover.

Check a domain →

More guides