# AgentKit x402 Domain DNS Audit

> AgentKit x402 Domain DNS Audit is a paid API for AI agents from agentkit-x402.erikssonanton2001.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-17).

Performs a comprehensive DNS lookup and DNSSEC audit for a given domain, returning all major record types and security validation status via DNS-over-HTTPS.

## Facts

- Endpoint: GET https://agentkit-x402.erikssonanton2001.workers.dev/v1/domain-dns?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentkit-x402-domain-dns-audit-1b04808b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qg-CnM9eIoD_Uc3utIPmC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentkit-x402-domain-dns-audit-1b04808b
```

Example prompt: Can you pull all the DNS records for example.com — including MX, TXT, NS, and DNSSEC status — so I can audit its email and security configuration?

## When to prefer this

Choose this endpoint when you need a comprehensive, single-call DNS audit covering all major record types plus DNSSEC validation for a domain. It is particularly useful when you need to check email authentication readiness (SPF/MX), security posture (DNSSEC, CAA), and infrastructure configuration in one response. Prefer this over manual dig/nslookup workflows or single-record DNS tools when you need a structured JSON summary suitable for automated analysis.

## Known failure modes

- Invalid or malformed domain name returns an error or empty records
- Non-existent domain returns empty record sets with possible failed_lookups entries
- DNSSEC resolver_validated may reflect false negatives due to Cloudflare resolver limitations
- Network or DNS resolution timeouts may result in partial records with failed_lookups populated
- Payment failure (x402 USDC) prevents the call from completing

## How this service works

Email checks, DNS and email-authentication audits, website contact extraction, SEO audits, URL to Markdown and Swedish validators, paid per call in USDC with x402.

## Output

Returns a JSON object containing the domain name, resolver used (Cloudflare DNS-over-HTTPS), all DNS record types (A, AAAA, MX, NS, TXT, CNAME, CAA, SOA, DS, DNSKEY) with their TTLs and data values, DNSSEC status (DS present, DNSKEY present, resolver-validated AD flag), and a list of any failed lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Domain name without scheme."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dnssec": {
   "note": "resolver_validated reflects the AD flag from the resolver (cloudflare-dns.com) for the A or NS answer.",
   "ds_present": false,
   "dnskey_present": false,
   "resolver_validated": false
  },
  "domain": "example.com",
  "records": {
   "a": [
    {
     "ttl": 300,
     "data": "93.184.216.34"
    }
   ],
   "ds": [],
   "mx": [
    {
     "ttl": 3600,
     "data": "10 mail.example.com.",
     "host": "mail.example.com",
     "priority": 10
    }
   ],
   "ns": [
    {
     "ttl": 3600,
     "data": "ns1.example.net"
    }
   ],
   "caa": [],
   "soa": [],
   "txt": [
    {
     "ttl": 300,
     "data": "v=spf1 -all"
    }
   ],
   "aaaa": [],
   "cname": [],
   "dnskey": []
  },
  "resolver": "cloudflare-dns.com (DNS-over-HTTPS)",
  "failed_lookups": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentkit-x402-domain-dns-audit-1b04808b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentkit-x402.erikssonanton2001.workers.dev](https://www.zero.xyz/host/agentkit-x402.erikssonanton2001.workers.dev/llms.txt)
