# x402 Utilities Hub DNS Lookup

> x402 Utilities Hub DNS Lookup is a paid API for AI agents from x402-utils-hub.dimkaplay666.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Performs DNS queries via a pay-per-call API endpoint, charged $0.01 USDC per call on Base via x402 v2

## Facts

- Endpoint: POST https://x402-utils-hub.dimkaplay666.workers.dev/v1/dns?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-utilities-hub-dns-lookup-5d13dd74
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_od6fZndLFnMmfT535Jwrt

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 x402-utilities-hub-dns-lookup-5d13dd74 -d '<json body>'
```

Example prompt: Can you do a DNS lookup for example.com and tell me what IP address it resolves to?

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-use DNS lookups without setting up DNS infrastructure yourself, and you are already operating within the x402 micropayment ecosystem on Base. Useful for AI agents that need occasional DNS resolution as part of a larger workflow without committing to a full DNS API subscription.

## Known failure modes

- Invalid or malformed domain name in query parameters returns an error
- Non-existent domain (NXDOMAIN) returns empty or error response
- Payment failure via x402 protocol prevents query execution
- Missing required queryParams field results in a validation error
- Network timeout if upstream DNS resolver is unavailable

## How this service works

Pay-per-call utilities for AI agents and developers. Paid in USDC on Base via x402 v2.

## Output

Returns a DNS query response object containing the resolved DNS records (such as A, MX, TXT, CNAME records) for the queried domain or hostname, along with relevant metadata from the DNS response.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "queryParams"
   ],
   "properties": {
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "example": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-utilities-hub-dns-lookup-5d13dd74/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-utils-hub.dimkaplay666.workers.dev](https://www.zero.xyz/host/x402-utils-hub.dimkaplay666.workers.dev/llms.txt)
