# DNS Lookup API

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

Performs live authoritative DNS record lookups for any domain, returning records as JSON for types A, AAAA, MX, TXT, NS, CNAME, and SOA

## Facts

- Endpoint: GET https://aniccanomac-mini-1.tail7a0ba4.ts.net:10000/dns-lookup?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-lookup-api-355cd550
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nZI3eBUC9Ig0uULMAKLgw

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-355cd550
```

Example prompt: What are the MX records for gmail.com? Can you do a live DNS lookup and show me the results as JSON?

## When to prefer this

Use this endpoint when you need live, authoritative DNS record data for any domain — especially when you need to verify email routing (MX), domain ownership (TXT), IP resolution (A/AAAA), or name server configuration (NS). Prefer this over WHOIS lookups when you need DNS-layer infrastructure details rather than registration metadata.

## Known failure modes

- Domain does not exist — NXDOMAIN response returned
- Invalid record type specified — may return error or empty result
- Network timeout reaching authoritative nameserver
- Malformed domain name input — validation error
- SERVFAIL if authoritative DNS servers are unreachable

## 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 records for the given domain and record type, sourced from live authoritative DNS servers. May include IP addresses (A/AAAA), mail server hostnames and priorities (MX), text strings (TXT), canonical names (CNAME), name server hostnames (NS), or start-of-authority data (SOA).

## 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": {
      "type": {
       "type": "string"
      },
      "domain": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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