# DNSSEC Checker API

> DNSSEC Checker validates the DNSSEC (Domain Name System Security Extensions) configuration of a domain. It verifies that DNS responses are authenticated and haven't been tampered with.

**Endpoint:** `GET https://api.apiverve.com/v1/dnsseccheck`  
**Category:** Domain Data  
**Cost:** 10 credits per call  
**Canonical page:** https://apiverve.com/marketplace/dnsseccheck

## Overview

Run a DNSSEC check or DNSSEC test on any domain to see whether DNSSEC is enabled and whether its signatures validate. Use it to validate DNSSEC after a registrar or DNS host change, or to verify DNSSEC across a list of domains. DNSSEC Checker works by querying DNSKEY, DS, and RRSIG records for a domain and validating the cryptographic chain of trust. It identifies whether DNSSEC is properly configured, highlights any validation errors, and derives a deployment-health risk score that distinguishes an unhardened domain from one with a broken chain of trust.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/dnsseccheck?domain=cloudflare.com" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `domain` | string | Yes | The domain name to check DNSSEC configuration for. domain |

## Response fields

- `domain` — string · Domain that was checked
- `dnssecEnabled` — boolean · Whether DNSSEC is enabled
- `valid` — boolean · Whether DNSSEC configuration is valid
- `records` — object · DNSKEY and DS record details · (premium)
  - `records.dnskey` — number · Number of DNSKEY records published by the zone · (premium)
  - `records.ds` — number · Number of DS records held by the parent zone · (premium)
  - `records.nsec` — string · Number of NSEC or NSEC3 records used to prove non-existence; null when none were returned · (premium)
- `errors` — array · Problems found in the chain of trust; empty when DNSSEC validates
- `details` — object · Record counts behind the verdict
  - `details.dnskeyCount` — number · Number of DNSKEY records seen · (premium)
  - `details.dsCount` — number · Number of DS records seen at the parent · (premium)
- `status` — string · Plain-language verdict on the domain's DNSSEC configuration
- `recommendation` — string · What to do about the current configuration
- `riskScore` — number · Composite 0-100 DNSSEC deployment-health score. A fully valid chain of trust scores low; a domain that published keys but never lodged its DS record at the parent zone (a broken chain that can break resolution) scores high; an undeployed domain scores in between · (premium)
- `riskLevel` — string · Risk band derived from the score: low, medium or high · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "domain": "cloudflare.com",
    "dnssecEnabled": true,
    "valid": true,
    "records": {
      "dnskey": 3,
      "ds": 2,
      "nsec": "NSEC3"
    },
    "errors": [],
    "details": {
      "dnskeyCount": 3,
      "dsCount": 2
    },
    "status": "DNSSEC is properly configured with DS records at parent",
    "recommendation": "DNSSEC is properly configured",
    "riskScore": 5,
    "riskLevel": "low"
  }
}
```

## Use cases

- **Security Auditing** — Verify that domains have properly configured DNSSEC to prevent DNS spoofing and cache poisoning attacks
- **Compliance Checking** — Ensure domains meet security compliance requirements that mandate DNSSEC
- **Domain Monitoring** — Monitor DNSSEC status and get alerts if configuration becomes invalid
- **Troubleshooting** — Diagnose DNSSEC validation failures and identify misconfigured records

## SDKs

- **npm** — `npm install @apiverve/dnsseccheck` (https://www.npmjs.com/package/@apiverve/dnsseccheck)
- **NuGet** — `dotnet add package APIVerve.API.DNSSECChecker` (https://www.nuget.org/packages/APIVerve.API.DNSSECChecker)
- **Source** — https://github.com/apiverve/dnsseccheck-api

## More

- Full reference: https://docs.apiverve.com/ref/dnsseccheck
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
