Skip to Content
DNSSEC API

DNSSEC Check1–2 Credits

Validate a domain's DNSSEC chain of trust from the root, and get a secure, not signed or broken verdict.

GET
/v1/dnssec

The DNSSEC API validates a domain the way a validating resolver does: it walks the chain of trust from the DNS root to the zone that answers for the name, checks every DS record, key and signature on the way, and tells you whether the answer is secure, not signed, or broken. The default response is a short verdict written for the domain's owner; verbose=true returns the whole analysis. Every verdict is HTTP 200, a broken domain included: read results[0].status. Errors are only for bad input, a 400 that isn't billed, and our own failures. See DNSSEC Verdicts for how to read a verdict and fix a broken chain.

Each call costs 1 credit, or 2 with allNameservers=true. Results are cached for up to 10 minutes.

Authorization

See Authentication for details.

headerX-API-Key<token>

Provide your API key in an HTTP request header.

Query Parameters

name*string

The domain name to validate

Length1 <= length
verbose?boolean

Return extra detail: totalElapsed, retries and params, plus each errors entry's detail when the lookup fails. For DNSSEC, each result also has the full chain (every zone's nameservers, DS, DNSKEY and RRSIG records, and denial proofs), every finding with RFC references, recommendations, the trust anchor, and the query log with dig commands. chain and stats carry every field instead of the summary's. It is a superset of the summary, about 30 times larger.

Defaultfalse
transport?string

Transport for the queries to each zone's nameservers. With udp, an answer too large for UDP is asked again over TCP; tcp asks everything over TCP

Default"udp"
Value in"udp""tcp"
allNameservers?boolean

Check every nameserver of every zone instead of one, and report where they disagree. About ten times the queries, so slower, and it costs 1 extra credit (2 in all)

Defaultfalse
crossCheck?boolean

Also ask Google, Cloudflare and Quad9 whether they validate the name, returned in resolvers

Defaulttrue

Response Body

Successful dnssec response. Every verdict is a 200, bogus and indeterminate included: read results[0].status

application/json
  1. response
tool*string

Tool that generated this result

Value in"dns""domain""reverse""site""dnssec""ssl""email""redirect"
query*string

The original query string

requestId*|

Unique request identifier that generated this result

timestamp*string

UTC timestamp when the result was generated

elapsed*|

Time taken to generate the result in milliseconds

cached*boolean

Whether this result was served from cache

totalElapsed?|

Returned with verbose. Total time in milliseconds, including retries and any lookups this one made. For a cached result, the time to read it

retries?number

Returned with verbose. Number of retries before the answer, 0 for a cached result

params?

Returned with verbose. The query parameters you set that differ from their defaults

results*array<|>|

The DNSSEC verdict. The default is the summary; verbose returns the whole analysis, a superset of it

errors*array<>

Empty on a 200, whatever the verdict. On any other status, why the request failed. The HTTP status is in the response line only

Errors

See Errors for the response format.

invalid_request
A parameter is missing or not valid, or is not one this endpoint takes.
400
invalid_query
The query is not a DNS name.
400
authentication_failed
No API key was sent, or it could not be checked.
401
invalid_api_key
The API key is not valid.
401
api_key_expired
The API key has expired.
401
out_of_credits
The account has no credits left.
402
forbidden
The caller may not use this tool.
403
rate_limited
The caller is over its rate limit; retry after the Retry-After header.
429
internal_error
An internal error on our side.
500
Example Request
curl -X GET 'https://api.dns.tools/v1/dnssec?name=cloudflare.com'
Example Response
{  "tool": "dnssec",  "query": "cloudflare.com",  "requestId": "758697ec-97a9-45c1-9fba-68684defcdbc",  "timestamp": "2026-11-26T05:45:14.377Z",  "elapsed": 1318,  "cached": false,  "errors": [],  "results": [    {      "status": "secure",      "answer": "exists",      "signed": true,      "zone": "cloudflare.com",      "summary": "The DNS answers for cloudflare.com are signed, and the signatures check out all the way from the DNS root, so resolvers that validate DNSSEC can spot forged answers.",      "brokenAt": null,      "delegation": {        "ds": [          {            "keyTag": 2371,            "algorithm": 13,            "digestType": 2,            "status": "verified"          }        ]      },      "keys": [        {          "keyTag": 2371,          "type": "KSK",          "algorithm": 13,          "algorithmName": "ECDSAP256SHA256"        },        {          "keyTag": 34505,          "type": "ZSK",          "algorithm": 13,          "algorithmName": "ECDSAP256SHA256"        }      ],      "signatures": {        "verified": 8,        "checked": 8,        "expired": 0,        "nextExpiry": "2026-11-27T06:44:50.000Z",        "expiresSoon": false      },      "resolvers": [        {          "name": "Google",          "address": "8.8.8.8",          "rcode": "NOERROR",          "ad": true,          "ede": null        },        {          "name": "Cloudflare",          "address": "1.1.1.1",          "rcode": "NOERROR",          "ad": true,          "ede": null        },        {          "name": "Quad9",          "address": "9.9.9.9",          "rcode": "NOERROR",          "ad": true,          "ede": null        }      ],      "issues": [],      "chain": [        {          "zone": ".",          "status": "secure"        },        {          "zone": "com",          "status": "secure"        },        {          "zone": "cloudflare.com",          "status": "secure"        }      ],      "stats": {        "errors": 0,        "warnings": 0,        "infos": 1      }    }  ]}