Skip to main content

CAA Records API

free
GET/v1/dns/caa

Retrieves 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

Security Engineer

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 Officer

Compliance Verification

Document CAA configuration as part of SOC 2 or ISO 27001 evidence collection.

Demonstrate certificate issuance controls for compliance audits.

Security Engineer

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

NameLocationTypeRequiredDescription
domainquerystringRequiredThe 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.

FieldTypeDescription
completebooleanWhether relevant-RRset lookup completed; inspect ordinary/wildcard state for unsupported critical-tag semantics.
effective_policyobjectShared structured policy: complete/error, effective/lookup owner, inheritance/alias evidence, TTL, records, ordinary and wildcard states/issuers, unsupported critical tags.
domainstringThe queried domain
foundbooleanWhether CAA records were found (at this domain or parent)
effective_domainstringThe domain where CAA records were found (may differ from queried domain due to RFC 8659 tree-climbing)
is_inheritedbooleanWhether CAA policy is inherited from a parent domain
recordsarrayCAA records with flags, tag, value, issuer_domain, accounturi, validationmethods, and critical flag (RFC 8659 §4 + RFC 8657)
allowed_issuersarrayLegacy ordinary-issuer projection. Use effective_policy.wildcard for wildcard authorization.
has_iodefbooleanWhether iodef incident reporting is configured
iodef_targetsarrayIncident reporting targets (email or URL)
allows_wildcardbooleanWhether wildcard certificate issuance is permitted. False when issuewild ";" denies all wildcards (RFC 8659 §4.2)
unknown_issuer_identifiersarrayIdentifiers outside the advisory registry; may be regional CAs or typos that block the intended issuer.
ct_complianceobjectLegacy 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_protectedbooleanWhether the validating resolver returned authenticated CAA evidence (AD). DNSKEY publication alone does not establish this.
recommendationsarrayContextual policy, lookup completeness, issuer configuration and reporting advice.
servfailbooleanTrue 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
curl --request GET 'https://api.edgedns.dev/v1/dns/caa?domain=example.com' \
  --header "Authorization: Bearer YOUR_API_KEY"
JavaScript
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);
Python
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.

    Try This Endpoint

    Test the CAA Records endpoint live in the playground.

    CAA Records API Reference | EdgeDNS