The DNSKEY record contains the public cryptographic keys used to verify DNSSEC signatures. It's a fundamental part of DNSSEC that allows resolvers to verify that DNS responses are authentic and haven't been tampered with.
Check DNSKEY records for any domain using our free DNS lookup tool.
Look Up DNSKEY Records →DNSKEY records publish the public keys that correspond to the private keys used to sign DNS records. When a resolver receives a signed DNS response, it uses the DNSKEY to verify the signature.
DNSSEC typically uses two types of keys:
example.com. 3600 IN DNSKEY 257 3 13 mdsswUyr3DPW...base64key...
| Field | Description | Values |
|---|---|---|
| Flags | Key properties | 256 (ZSK), 257 (KSK) |
| Protocol | Must be 3 | 3 |
| Algorithm | Cryptographic algorithm | 8 (RSA), 13 (ECDSA), 15 (Ed25519) |
| Public Key | Base64-encoded key | Variable length |
| Aspect | KSK (257) | ZSK (256) |
|---|---|---|
| Purpose | Signs DNSKEY records | Signs all other records |
| Key size | Typically larger | Typically smaller |
| Rotation frequency | Less frequent (yearly) | More frequent (monthly) |
| DS record | Hash published in parent | Not in parent zone |
| Number | Algorithm | Status |
|---|---|---|
| 8 | RSA/SHA-256 | Widely supported |
| 10 | RSA/SHA-512 | Supported |
| 13 | ECDSA P-256/SHA-256 | Recommended |
| 14 | ECDSA P-384/SHA-384 | Supported |
| 15 | Ed25519 | Modern, recommended |
DNSKEY records are part of the DNSSEC chain of trust:
# Query DNSKEY records
dig example.com DNSKEY
# With DNSSEC validation info
dig example.com DNSKEY +dnssec
# Check the trust chain
delv example.com
Common issues and solutions:
DNS Explorer validates DNSKEY records, checks chain of trust, and alerts you to DNSSEC issues before they cause outages.
Start free DNS Explorer trial14-day full-feature trial
Use our DNS Record Finder to look up DNSKEY records for any domain.
Look Up DNSKEY Records →