# Agent Web Tools DNS Lookup

> Agent Web Tools DNS Lookup is a paid API for AI agents from agent-web-tools.agent-web-tools.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-20).

Fetches all DNS records (A, AAAA, CNAME, MX, TXT, NS, CAA) for a given domain name

## Facts

- Endpoint: GET https://agent-web-tools.agent-web-tools.workers.dev/v1/dns?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-web-tools-dns-lookup-059d50e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Pu61r_W683MTbxUrQQYVF

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 agent-web-tools-dns-lookup-059d50e6
```

Example prompt: Can you pull up all the DNS records for github.com — I want to see the A, MX, TXT, and NS records?

## When to prefer this

Use this endpoint when you need a comprehensive snapshot of all DNS record types for a domain in a single call. Prefer this over manual dig/nslookup commands when operating inside an agentic workflow that needs structured DNS data. Ideal for DNS audits, email deliverability verification, pre-migration checks, or security investigations requiring a full DNS profile of a domain.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns empty or error response
- Invalid domain name format — may return validation error
- Domain exists but has no records of certain types — those record types return empty
- Network timeout reaching upstream DNS resolver
- Rate limiting if too many requests are made in quick succession

## How this service works

DNS records for a domain: A, AAAA, CNAME, MX, TXT, NS, CAA.

## Output

Returns all DNS record types for the queried domain including A (IPv4 addresses), AAAA (IPv6 addresses), CNAME (canonical name aliases), MX (mail exchange servers with priority), TXT (text records including SPF, DKIM, verification tokens), NS (nameservers), and CAA (certificate authority authorization) records.

## 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",
       "description": "Domain name, e.g. example.com"
      }
     }
    }
   },
   "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/agent-web-tools-dns-lookup-059d50e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-web-tools.agent-web-tools.workers.dev](https://www.zero.xyz/host/agent-web-tools.agent-web-tools.workers.dev/llms.txt)
