# DNS Lookup API

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

Performs DNS record lookups for a given URL, returning A, AAAA, and MX records for the domain.

## Facts

- Endpoint: POST https://elon.tail49499f.ts.net/dns
- Price: $0.01/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-1fc140e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rW8GupKFPPmOuBdm-UtYd

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-1fc140e3 -d '<json body>'
```

Example prompt: Can you look up the DNS records for https://example.com and tell me what A, AAAA, and MX records it has?

## When to prefer this

Choose this endpoint when you need quick, programmatic DNS record resolution for a given URL or domain — particularly when you need A, AAAA, and MX records in a single call. Prefer this over manual DNS tools when automating domain infrastructure checks, email server verification, or security research at scale.

## Known failure modes

- Invalid or malformed URL returns an error
- Private/internal domains may return empty arrays
- Rate limiting may occur at high query volumes
- Non-existent domains return empty arrays for all record types
- Network timeouts for slow-responding DNS servers

## How this service works

Curated x402 website intelligence API for autonomous AI agents. 24 high-value paid tools covering web content, company research, ecommerce product intelligence, SEO, security and domain trust.

## Output

A JSON object containing arrays of DNS record values for A (IPv4 addresses), AAAA (IPv6 addresses), and MX (mail exchange) records associated with the queried domain. Each array may be empty if no records of that type exist.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public HTTP or HTTPS URL to analyze"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "A": [],
  "MX": [],
  "AAAA": []
 }
}
```

## More

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