# dns.agentutil.net DNS Lookup

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

Performs DNS record lookups for a given domain, returning records of a specified type (A, AAAA, MX, TXT, CNAME, NS, SOA, or ANY)

## Facts

- Endpoint: POST https://dns.agentutil.net/v1/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-agentutil-net-94d40fce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-ktLIRSx5f_0kmmbXs69B

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-agentutil-net-94d40fce -d '<json body>'
```

Example prompt: What are the MX records for gmail.com? I want to see what mail servers it's using.

## When to prefer this

Use this endpoint when an agent needs to programmatically resolve DNS records for a domain — such as verifying email server configuration, checking domain ownership via TXT records, resolving hostnames to IPs, or auditing nameserver delegation. Priced at $0.001 per call, it is suitable for on-demand lookups in automated workflows.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns error or empty result
- Invalid domain name format — returns validation error
- Unsupported record type — rejected by enum validation
- DNS resolution timeout — upstream resolver unavailable
- Payment failure — x402 payment not accepted or insufficient funds

## How this service works

DNS record lookup for a domain

## Output

Returns DNS records matching the requested type for the specified domain, including record values such as IP addresses, hostnames, priority values, or text strings depending on record type.

## Example request

```json
{
 "type": "A",
 "domain": "example.com"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "enum": [
    "A",
    "AAAA",
    "MX",
    "TXT",
    "CNAME",
    "NS",
    "SOA",
    "ANY"
   ],
   "type": "string",
   "description": "DNS record type (default: A)"
  },
  "domain": {
   "type": "string",
   "description": "Domain name to look up (e.g. example.com)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "domain",
  "records",
  "service",
  "query_type",
  "request_id",
  "related_services"
 ],
 "properties": {
  "domain": {
   "type": "string"
  },
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "ttl",
     "type",
     "value"
    ],
    "properties": {
     "ttl": {
      "type": "number"
     },
     "type": {
      "type": "string"
     },
     "value": {
      "type": "string"
     }
    }
   }
  },
  "service": {
   "type": "string"
  },
  "query_type": {
   "type": "string"
  },
  "request_id": {
   "type": "string"
  },
  "related_services": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "url",
     "name",
     "description"
    ],
    "properties": {
     "url": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "description": {
      "type": "string"
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-agentutil-net-94d40fce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dns.agentutil.net](https://www.zero.xyz/host/dns.agentutil.net/llms.txt)
