NSEC3PARAM Record
NSEC3 Parameters
- Type code
- 51
- Status
- In use
- Defined in
- RFC 5155
What the NSEC3PARAM record is for
When a zone is signed with NSEC3, authoritative servers need to know the hash algorithm, salt and iteration count to compute the hashed name for a query and find the right NSEC3 record. NSEC3PARAM publishes those parameters at the zone apex.
It is meant for authoritative servers, not resolvers. Resolvers take the parameters from the NSEC3 records in a response. Checking NSEC3PARAM is still a quick way to see whether a zone uses NSEC3 and whether it follows the RFC 9276 recommendation of no salt and zero iterations.
Wire format and fields
| Field | Size | Meaning |
|---|---|---|
| Hash Algorithm | 8 bits | The hash function. 1 (SHA-1) is the only value defined. |
| Flags | 8 bits | All bits are reserved. The Opt-Out flag is not used here and is zero; servers ignore records with other flags set. |
| Iterations | 16 bits | The number of additional hash iterations. |
| Salt Length | 8 bits | The length of the Salt field in octets. |
| Salt | variable | The salt, shown in hex or as - when empty. |
Zone file syntax
<zone> <ttl> IN NSEC3PARAM <hash algorithm> <flags> <iterations> <salt (hex) or ->
Example
The NSEC3PARAM record at com, fetched from live DNS on 27 November 2026:
com. 86400 IN NSEC3PARAM 1 0 0 -
SHA-1, no extra iterations and no salt, as RFC 9276 recommends.
Common mistakes
- Setting the Opt-Out flag in NSEC3PARAM. Opt-out is a property of the NSEC3 records; in NSEC3PARAM the flags must be zero.
- Changing NSEC3PARAM in one place but not re-signing, so the published parameters no longer match the NSEC3 chain and servers cannot find the right records for negative answers.
- Keeping a long salt and a high iteration count from an old signer default. Current guidance is 0 iterations and no salt.
Specifications
- RFC 5155: DNS Security (DNSSEC) Hashed Authenticated Denial of Existence
- RFC 9276: Guidance for NSEC3 Parameter Settings (Recommends an iteration count of 0 and an empty salt.)
- IANA DNS Resource Record (RR) TYPEs registry: type code and status
Related record types
Domain Intelligence APIs
Get started with our easy-to-use API docs.