senapati
Documentation index

DNSSEC Status

Asks a validating resolver three questions about the zone a name belongs to: is there a DS record at the parent, does the zone publish DNSKEY records, and did the resolver authenticate the answer. The combination says whether DNSSEC is off, on and working, on but unlinked, or broken in the way that makes a domain disappear for every validating resolver.

POST/api/dnssec-statusCosts 1 creditAPI key

Report a domain's DNSSEC state and keys (1 credit)

How the state is determined

  • Zone. An SOA query locates the zone the name sits in, so host names report their zone's state and a name that does not exist is reported as such rather than as unsigned.
  • DS at the parent. The link from the parent zone (com, co.uk) to the zone's keys. Without it, signatures cannot be validated and resolvers treat the zone as unsigned.
  • DNSKEY in the zone. The keys the zone signs with, with their roles (KSK or ZSK), algorithms and key tags.
  • Validation. The resolver's AD flag means it authenticated the answer; a SERVFAIL that clears when checking is disabled means validation fails.

Status values

dnssec_statusMeaning
secureDS record present, keys published, answer authenticated: DNSSEC protects the zone
unsignedNo DS record and no keys: DNSSEC is not in use
zone_signed_no_dsThe zone signs its records but the parent holds no DS record, so nobody validates it
brokenA DS record exists but validation fails; validating resolvers refuse to answer for the domain
nullCould not be determined (resolver unreachable, or a DS record with no authenticated keys)

Issue codes

codetypeMeans
DNSSEC_BROKENerrorDS present, validation fails: fix the keys or remove the DS record
NAME_DOES_NOT_EXISTerrorThe name answers NXDOMAIN; nothing to validate
RESOLVER_UNREACHABLEerrorNo validating resolver answered
DS_RECORD_MISSINGwarningKeys published but no DS record at the parent
DNSSEC_UNDETERMINEDwarningDS present but the keys were neither authenticated nor rejected; retry
WEAK_ALGORITHMwarningSigning with an algorithm RFC 8624 retires (RSASHA1, DSA, RSAMD5, ECC-GOST)
WEAK_DS_DIGESTwarningEvery DS record uses a SHA-1 or GOST digest
DNSSEC_NOT_ENABLEDinfoThe zone is not signed
ZONE_INHERITEDinfoThe name is inside a zone; the zone's state is shown

Request

JSON body
FieldTypeDescription
domain*stringDomain name to check (e.g. example.com)

Authenticate with API key. Send it as the X-API-Key header.

curl -X POST "https://api.senapati.io/api/dnssec-status" \
  -H "X-API-Key: $SENAPATI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain":"cloudflare.com"}'

Response

Every success is wrapped in { "data": … } with a request_id; the fields below describe data. See Errors for the failure shape.

response: 200 OKDNSSECStatusData
{
"request_id": "req_764bd429",
"timestamp": "2026-10-28T07:37:47.605321+00:00",
"data": {
"domain": "cloudflare.com",
"zone": "cloudflare.com",
"domain_exists": true,
"dnssec_status": "secure",
"zone_signed": true,
"ds_present": true,
"authenticated": true,
"validation_failed": false,
"ds_records": [
{
"key_tag": 2371,
"algorithm": 13,
"algorithm_name": "ECDSAP256SHA256",
"digest_type": 2,
"digest": "32996839a6d808afe3eb4a795a0e6a7a39a76fc52ff228b22b76f6d63826f2b9"
}
],
"dnskey_records": [
{
"key_tag": 34505,
"algorithm": 13,
"algorithm_name": "ECDSAP256SHA256",
"flags": 256,
"role": "zsk",
"protocol": 3
},
{
"key_tag": 2371,
"algorithm": 13,
"algorithm_name": "ECDSAP256SHA256",
"flags": 257,
"role": "ksk",
"protocol": 3
}
],
"lookup_failed": false,
"issues_found": [],
"elapsed_ms": 109
}
}

zone is the apex that carries the state; for www.example.com that is example.com, and the report says so with ZONE_INHERITED.

data · DNSSECStatusData
FieldTypeDescription
domain*string
zone*string | nullThe zone apex whose DNSSEC state is reported; the name itself when it is an apex
domain_exists*boolean | nullFalse when the name does not exist in the DNS
dnssec_status*"secure" | "unsigned" | "zone_signed_no_ds" | "broken" | nullsecure: DS record present and the zone validates; unsigned: DNSSEC not in use; zone_signed_no_ds: the zone signs its records but no DS record links it to the parent, so it is not protected; broken: a DS record exists but validation fails, so validating resolvers cannot reach the domain; null: could not be determined
zone_signed*boolean | nullThe zone publishes DNSKEY records
ds_present*boolean | nullThe parent holds a DS record
authenticated*boolean | nullThe resolver set the AD flag on the DNSKEY answer
validation_failed*boolean | nullThe resolver answered only once validation was switched off
ds_records*DSRecordInfo[]
↳ key_tag*integer
↳ algorithm*integer
↳ algorithm_name*string
↳ digest_type*integer1 SHA-1, 2 SHA-256, 4 SHA-384
↳ digest*stringLower-case hex
dnskey_records*DNSKEYRecordInfo[]
↳ key_tag*integer
↳ algorithm*integer
↳ algorithm_name*string
↳ flags*integer
↳ role*"ksk" | "zsk" | "other"ksk: key-signing key (secure entry point); zsk: zone-signing key
↳ protocol*integer
lookup_failed*booleanTrue when no resolver answered; retry before acting on the report
issues_found*Finding[]
↳ code*stringStable machine-readable code, e.g. CERT_EXPIRED
↳ type*"error" | "warning" | "info"error: clients or browsers reject it; warning: it works but is weaker than it should be; info: a note, not a defect
↳ message*stringWhat was found and why it matters
elapsed_msintegerdefault 0

Errors

  • 401missing or invalid API key / token
  • 402not enough credits on the account
  • 422the request body or a parameter failed validation
  • 429plan rate limit exceeded

Nested objects

data.ds_records[] · DSRecordInfo
FieldTypeDescription
key_tag*integer
algorithm*integer
algorithm_name*string
digest_type*integer1 SHA-1, 2 SHA-256, 4 SHA-384
digest*stringLower-case hex
data.dnskey_records[] · DNSKEYRecordInfo
FieldTypeDescription
key_tag*integer
algorithm*integer
algorithm_name*string
flags*integer
role*"ksk" | "zsk" | "other"ksk: key-signing key (secure entry point); zsk: zone-signing key
protocol*integer
data.issues_found[] · Finding
FieldTypeDescription
code*stringStable machine-readable code, e.g. CERT_EXPIRED
type*"error" | "warning" | "info"error: clients or browsers reject it; warning: it works but is weaker than it should be; info: a note, not a defect
message*stringWhat was found and why it matters

Notes

  • Queries go to public validating resolvers (Cloudflare, then Google), not the system resolver, because many forwarders drop the records a validation needs and would make every zone look unsigned.
  • The registry's view (dnssec and ds_records on whois-lookup) only says a DS record was lodged. This endpoint says whether it works.
  • A report with lookup_failed: true rests on a query that did not complete; retry it before acting on it.