WEBINVEST.IT
Glossary

ZSK

ZSK stands for Zone Signing Key: it is a DNSSEC key used to sign records within a zone. Resolvers that validate DNSSEC can confirm that responses were signed with a key associated with the zone and have not been altered during distribution. In environments with separated roles, the ZSK signs standard RRsets, while the Key Signing Key (KSK) signs the DNSKEY RRset that publishes keys. This separation is an operational practice, not an absolute requirement of the protocol—single keys can fulfill both roles.

Relationship between ZSK and KSK

The ZSK is published in the zone via DNSKEY records and signs records such as A, MX, TXT, and other RRsets. The KSK is typically linked to the trust chain through the DS record present in the parent zone. When separated, changing the ZSK may require updating the signed zone but not necessarily modifying the parent’s DS; replacing the KSK usually requires coordination with the parent and registrar. The exact process depends on architecture, algorithms, and DNS provider.

RRSIG records contain information about algorithm, key, validity period, and signed data. Resolvers validate signatures up to a trust anchor, typically the root. If a signature has expired or the DNSKEY/DS does not match, validating resolvers may return SERVFAIL even if the zone appears correct to non-validating clients. A simple ping or query from a resolver without validation will not detect all DNSSEC errors. The validation process is critical for maintaining DNS integrity and preventing spoofing attacks.

Rotation and Management

Periodic key rotation reduces exposure time in case of compromise and allows updating outdated algorithms or procedures. Rotation must respect TTLs, key overlap windows, signature periods, and propagation times. Removing a ZSK before caches learn the new key can cause signatures to become unverifiable. Provider automation may coordinate these steps, but operational responsibility requires monitoring and rollback planning. Proper management ensures continuity of service while maintaining security standards.

Private keys must be safeguarded in secure systems with restricted access, safe backups, and logs. The public key can be published in DNS, but private material should never be exported in plaintext or sent via email. In case of suspected compromise, the response includes a new key, zone signature, parent update if needed, and validation by resolvers. Procedures should be tested using tools that display DS/DNSKEY chains and RRSIG status. Regular testing helps identify configuration issues before they impact availability.

Modern Models

Many DNS providers use a Combined Signing Key (CSK), where one key performs both ZSK and KSK functions. Others maintain separation for management, more frequent signature changes, or role organization reasons. Therefore, the term ZSK refers to a function rather than necessarily a distinct key in every implementation. DNSKEY flags alone do not fully define usage; actual configuration and signer policy determine roles. This flexibility allows providers to adapt to varying security and operational requirements.

DNSSEC security depends on the entire chain: key generation, signatures, DNSKEY records, parent DS, algorithms, and clocks. A failure at any step can make names unreachable for validating clients. In summary, the ZSK signs zone DNS data in a dual-key architecture. Rotation and protection must be planned and end-to-end verified, while modern platforms often manage a combined key. Effective implementation requires ongoing attention to policy, compliance, and system integrity.

← Full glossary