DNSSEC Check API
free/v1/dns/dnssecDiscovers actual SOA zone boundaries and validates supported DNSSEC trust paths from a configured root anchor. The authenticated anchor or parent-DS-matched key must sign each DNSKEY RRset before other keys are trusted. Publication, resolver AD and local cryptographic validation are distinct evidence.
What It Does
Checks signature lifetimes, signer scope, key protocol/Zone Key/revoke eligibility, valid alternatives and colliding key tags. Missing proof or unsupported local negative/alias validation remains indeterminate. A resolver-authenticated unsigned delegation terminates trust as insecure. chain=false provides diagnostics without claiming authenticated root trust.
Why It's Useful
Separates concrete authentication failures from unavailable evidence. Real cryptographic checks help diagnose rollover and signing defects while explicit scope prevents unsupported paths from being reported as secure.
Use Cases
Diagnose KSK rollover failures
A scheduled KSK rotation has produced SERVFAILs from validating resolvers. The cryptographic verification surfaces the exact mismatch: the published DS digest doesn't correspond to any current DNSKEY, with the *correct* digest computed and returned in the response so it can be republished at the registrar.
Reduces MTTR on the most common DNSSEC outage from "your zone is bogus, debug it" to "publish this exact DS at the registrar."
Compliance evidence with cryptographic proof
SOC 2 / ISO 27001 evidence requires verifiable DNSSEC posture. The endpoint returns per-DS digest checks (RFC 4034 §5.1.4) and per-RRSIG signature verification for RSA-SHA256/512, ECDSA P-256/P-384, and Ed25519 — the actual math, not just "the resolver said it was OK."
Audit reports can show the cryptographic verification was performed locally rather than trusting an upstream resolver's AD bit.
Pre-migration DNSSEC validation
Before migrating DNS to a new provider, capture a baseline of DS-digest-verified, RRSIG-verified state. After the cut-over, re-run; any change in `ds_digest_verified` or `rrsig_signatures_verified` indicates a replication or signing issue at the new provider.
Catches DNSSEC breakage immediately at migration time rather than 24 hours later when validators start rejecting the zone.
RRSIG expiry monitoring
Schedule the endpoint daily. Alert when any RRSIG's `is_expiring_soon` flag turns true (signature within 7 days of expiration). Re-sign before validators start treating the zone as bogus.
Prevents the self-inflicted DNSSEC outage that happens when zone-signing automation silently fails.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
domain | query | string | Required | The domain to validate DNSSEC forExample: cloudflare.com |
chain | query | boolean | Optional | Verify the DNSSEC chain toward the root. Default true; chain=false skips this additional verification.Example: trueOptions: true, false |
Response Fields
Result fields below are inside the JSON data object. Any row named meta describes the sibling response metadata object. See response and error handling for status codes and error responses. Optional observations may be absent or null; inspect warnings and partial-failure fields before treating a missing result as a negative finding.
| Field | Type | Description |
|---|---|---|
validation_scope | string | Supported proof scope and explicit local alias/negative-proof limitations. |
complete | boolean | False when required discovery, lookups, supported crypto or requested-name proof is incomplete. |
domain | string | The queried domain |
status | string | secure for completed supported chain/data verification; insecure for resolver-authenticated unsigned delegation; bogus for applicable authentication failure; indeterminate for unavailable/unsupported proof. |
has_dnssec | boolean | Whether DNSSEC records are present |
has_valid_chain | boolean | Whether the DNSKEY chain authenticated. Inspect overall status/data_rrset_check for requested-name coverage. |
resolver_validated | boolean | AD bit returned by Cloudflare's recursive resolver (third-party validation indicator; distinct from our own cryptographic verification) |
keys | array | DNSKEY records with key_tag, algorithm, KSK/ZSK flags, and security status |
ds_records | array | DS records at parent zone with key_tag, algorithm, digest_type, and is_secure |
rrsig_records | array | RRSIG signatures with type covered, expiration, inception, is_expired, is_not_yet_valid, is_expiring_soon, and days_until_expiry |
ds_digest_verified | boolean | True iff at least one DS record's digest matches the SHA-256/384 we computed over canonical owner-name + DNSKEY RDATA (RFC 4034 §5.1.4). Null when no DS or no DNSKEY is present. |
ds_digest_checks | array | Per-DS detail: ds_key_tag, ds_digest_type, ds_digest_published, matched_dnskey_key_tag, digest_computed, matches, error. When matches=false, the published DS does not correspond to any current DNSKEY — the most common DNSSEC misconfiguration. |
rrsig_signatures_verified | boolean|null | Whether at least one eligible current diagnostic DNSKEY signature verifies; this alone does not authenticate its signer or establish root trust. |
rrsig_signature_checks | array | Per-RRSIG detail: type_covered, algorithm, key_tag, signer_name, verified, reason. Algorithms supported: RSA-SHA256/512 (RFC 5702), ECDSA P-256/P-384 (RFC 6605), Ed25519 (RFC 8080). |
issues | array | Configuration findings (weak algorithm, expired RRSIG, DS-DNSKEY mismatch, orphaned RRSIG, revoked key) |
recommendations | array | Diagnostic remediation guidance; use authenticated chain outcomes before changing keys or parent DS. |
data_rrset_check | object|null | Cryptographic verification of an observed data RRset when available. |
chain_to_root | object|null | Chain-to-root validation details when chain=true; inspect its status and limitations. |
Code Examples
Replace YOUR_API_KEY with your API key. This endpoint requires the free plan or higher; see plans and usage limits.
curl --request GET 'https://api.edgedns.dev/v1/dns/dnssec?domain=cloudflare.com' \
--header "Authorization: Bearer YOUR_API_KEY"const response = await fetch(
"https://api.edgedns.dev/v1/dns/dnssec?domain=cloudflare.com",
{
"method": "GET",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
);
if (!response.ok) {
throw new Error(`EdgeDNS returned HTTP ${response.status}`);
}
const data = await response.json();
console.log(data);import requests
response = requests.request(
'GET',
"https://api.edgedns.dev/v1/dns/dnssec?domain=cloudflare.com",
headers={'Authorization': 'Bearer YOUR_API_KEY'},
timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)Read the full DNSSEC Check guide
Learn the concepts, choose a practical workflow, and interpret the observations from DNSSEC Check before acting on them. Run supported checks via MCP or through REST.
Read the guide →Related Endpoints
External References
Learn more about the standards and protocols behind this endpoint.
Try This Endpoint
Test the DNSSEC Check endpoint live in the playground.