What is DNSSEC?
DNSSEC (Domain Name System Security Extensions) adds cryptographic signatures to DNS records, allowing resolvers to verify that responses are authentic and have not been tampered with. Without DNSSEC, attackers can perform cache poisoning attacks to redirect users to malicious sites.
DNSSEC uses a chain of trust from the root zone down to individual domain zones, with each level signing the next using public-key cryptography.
DS vs DNSKEY Records
DNSKEY records contain the public keys used to sign DNS records in a zone. There are two types: the KSK (Key Signing Key) which signs the DNSKEY record set, and the ZSK (Zone Signing Key) which signs other records.
DS (Delegation Signer) records are stored in the parent zone and contain a hash of the child zone's KSK. They create the cryptographic link in the DNSSEC chain of trust between the parent (e.g., .com) and child (e.g., example.com) zone.