# DNS Lookup API

> DNS Lookup API is a paid API for AI agents from aniccanomac-mini-1.tail7a0ba4.ts.net, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Performs live authoritative DNS record lookups for a given domain, returning results as JSON for record types A, AAAA, MX, TXT, NS, CNAME, and SOA.

## Facts

- Endpoint: GET https://aniccanomac-mini-1.tail7a0ba4.ts.net/dns-lookup
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-lookup-api-a3506d24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LOrXIeANq7pNc638MPTFx

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 dns-lookup-api-a3506d24
```

Example prompt: What are the MX records for gmail.com? Do a live DNS lookup and show me the authoritative results.

## When to prefer this

Use this endpoint when you need fast, live authoritative DNS record data for any common record type (A, AAAA, MX, TXT, NS, CNAME, SOA) and want results in structured JSON format. Prefer over WHOIS lookups when you need IP/routing/mail/nameserver data rather than registrant information. Ideal for infrastructure checks, email deliverability validation, or verifying DNS propagation.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns error indicating non-existent domain
- Requested record type not found for domain — returns empty or error response
- Invalid domain format — returns validation error
- Unsupported record type requested — returns error
- Temporary DNS resolution failure — returns timeout or server error
- Rate limit or payment failure (x402) — returns 402 Payment Required

## How this service works

DNS lookup. GET /dns-lookup?domain=example.com&type=A|AAAA|MX|TXT|NS|CNAME|SOA → records as JSON. Live authoritative data, instant.

## Output

A JSON object containing the requested DNS record type and its values for the queried domain, sourced from live authoritative DNS data — e.g. IP addresses for A/AAAA records, mail server hostnames and priorities for MX, text strings for TXT, nameserver hostnames for NS, target hostname for CNAME, or zone authority details for SOA.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-lookup-api-a3506d24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aniccanomac-mini-1.tail7a0ba4.ts.net](https://www.zero.xyz/host/aniccanomac-mini-1.tail7a0ba4.ts.net/llms.txt)
