CAA Records API
free/v1/dns/caaRetrieves CAA (Certificate Authority Authorization) records that specify which certificate authorities are permitted to issue certificates for a domain. Supports RFC 8659 tags including issue, issuewild, and iodef, plus RFC 8657 extensions for accounturi and validationmethods.
What It Does
Discovers the RFC 8659 relevant CAA RRset through original-name ancestors, with recursive alias chasing and explicit incomplete/error outcomes. Separates ordinary and wildcard authorization, deny-all values, unsupported critical tags and issuer parameters. CT issuer-name comparisons concern current ordinary policy and cannot prove historic issuance violations. DNSSEC protection is resolver AD evidence on CAA, not DNSKEY presence.
Why It's Useful
Shows which current issuance policies apply, distinguishes wildcard-only controls from ordinary authorization, and prevents unavailable nearer lookups from being mistaken for inherited permissive policy. Unknown registry identifiers are advisory: typos can block the intended CA rather than authorize every CA.
Use Cases
Certificate Security Audit
Verify that CAA records restrict certificate issuance to your organization's approved CAs only.
Prevent unauthorized certificate issuance that could enable impersonation attacks.
Compliance Verification
Document CAA configuration as part of SOC 2 or ISO 27001 evidence collection.
Demonstrate certificate issuance controls for compliance audits.
Certificate Transparency Cross-Reference
Compare CT issuer names against current ordinary CAA policy, then review policy history before inferring authorization at issuance.
Detect policy violations and potential man-in-the-middle attacks from unauthorized certificate issuance.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
domain | query | string | Required | The domain to check CAA records forExample: example.com |
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 |
|---|---|---|
complete | boolean | Whether relevant-RRset lookup completed; inspect ordinary/wildcard state for unsupported critical-tag semantics. |
effective_policy | object | Shared structured policy: complete/error, effective/lookup owner, inheritance/alias evidence, TTL, records, ordinary and wildcard states/issuers, unsupported critical tags. |
domain | string | The queried domain |
found | boolean | Whether CAA records were found (at this domain or parent) |
effective_domain | string | The domain where CAA records were found (may differ from queried domain due to RFC 8659 tree-climbing) |
is_inherited | boolean | Whether CAA policy is inherited from a parent domain |
records | array | CAA records with flags, tag, value, issuer_domain, accounturi, validationmethods, and critical flag (RFC 8659 §4 + RFC 8657) |
allowed_issuers | array | Legacy ordinary-issuer projection. Use effective_policy.wildcard for wildcard authorization. |
has_iodef | boolean | Whether iodef incident reporting is configured |
iodef_targets | array | Incident reporting targets (email or URL) |
allows_wildcard | boolean | Whether wildcard certificate issuance is permitted. False when issuewild ";" denies all wildcards (RFC 8659 §4.2) |
unknown_issuer_identifiers | array | Identifiers outside the advisory registry; may be regional CAs or typos that block the intended issuer. |
ct_compliance | object | Legacy current-policy issuer-name heuristic, with scope and historical_compliance:null. Unavailable/unmapped evidence cannot establish a match; current policy is not proof of past authorization. |
dnssec_protected | boolean | Whether the validating resolver returned authenticated CAA evidence (AD). DNSKEY publication alone does not establish this. |
recommendations | array | Contextual policy, lookup completeness, issuer configuration and reporting advice. |
servfail | boolean | True when DNS SERVFAIL was encountered. Per RFC 8659 §4.3, CAs MUST NOT issue certificates in this case (optional, only present on SERVFAIL) |
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/caa?domain=example.com' \
--header "Authorization: Bearer YOUR_API_KEY"const response = await fetch(
"https://api.edgedns.dev/v1/dns/caa?domain=example.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/caa?domain=example.com",
headers={'Authorization': 'Bearer YOUR_API_KEY'},
timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)Read the full CAA Records guide
Learn the concepts, choose a practical workflow, and interpret the observations from CAA Records 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.