# CRA Agent DNS Lookup

> CRA Agent DNS Lookup is a paid API for AI agents from api.cra-agent.tech, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Fetches live DNS records for a hostname, including TTLs and DNSSEC validation status, for configurable record types.

## Facts

- Endpoint: GET https://api.cra-agent.tech/v1/paid/domains/dns?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cra-agent-dns-lookup-bad1d1fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NzeI16lq9kEPo2vRxF9EH

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 cra-agent-dns-lookup-bad1d1fa
```

Example prompt: Look up the live DNS records for api.cra-agent.tech — I want A, AAAA, MX, and TXT records along with their TTLs and whether DNSSEC validates.

## When to prefer this

Use this endpoint when you need real-time, authoritative DNS resolution with DNSSEC validation status for any combination of standard record types. Prefer this over manual dig commands or generic DNS APIs when you need DNSSEC attestation alongside TTL data in a single programmatic call, particularly in security auditing, infrastructure monitoring, or domain configuration verification workflows.

## Known failure modes

- Hostname does not exist (NXDOMAIN) — returns empty or error response
- Invalid record type specified — may return error or be silently ignored
- DNSSEC validation failure for a signed zone — indicates possible tampering or misconfiguration
- Network timeout reaching upstream resolver — transient error
- Malformed hostname input — returns validation error

## How this service works

Live DNS records for a host name, with TTLs and whether the answers validated under DNSSEC. ?type= takes a comma-separated list of A, AAAA, CNAME, MX, TXT, NS, SOA, CAA.

## Output

Returns live DNS records for the queried hostname, including record values, TTL (time-to-live) in seconds, and a DNSSEC validation flag indicating whether the answer was authenticated. Covers record types A, AAAA, CNAME, MX, TXT, NS, SOA, and CAA.

## 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": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "example": "cra-agent.tech",
       "description": "Host name."
      },
      "type": {
       "type": "string",
       "description": "Record types, comma-separated. Defaults to A,AAAA,CNAME,MX,TXT,NS."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cra-agent-dns-lookup-bad1d1fa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cra-agent.tech](https://www.zero.xyz/host/api.cra-agent.tech/llms.txt)
