# OpenVerbs DNS Resolver

> OpenVerbs DNS Resolver is a paid API for AI agents from dns.openverbs.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-14).

Resolves DNS records (A, AAAA, CNAME, MX, TXT, NS, SOA, CAA, SRV) for a given hostname, returning the matching record set or empty if not found.

## Facts

- Endpoint: POST https://dns.openverbs.com/v1/resolve
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openverbs-dns-resolver-237d2a03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BEgkPlybaMVcdy86EGI6-

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 openverbs-dns-resolver-237d2a03 -d '<json body>'
```

Example prompt: Look up the MX records for mailchimp.com so I can see which mail servers handle their email.

## When to prefer this

Use this endpoint when an AI agent needs programmatic, paid DNS resolution supporting all major record types (A, AAAA, CNAME, MX, TXT, NS, SOA, CAA, SRV) in a single consistent API with x402 micropayment access. Prefer it over scraping DNS tools or system-level resolvers when you need a reliable, structured JSON response for any record type without managing resolver infrastructure. The companion PTR/reverse-lookup endpoint on the same provider covers reverse DNS needs.

## Known failure modes

- NXDOMAIN: domain does not exist — returns empty record set
- No records of requested type exist — returns empty record set
- Invalid hostname format (exceeds 253 chars or malformed) — likely validation error
- Unsupported record type supplied — schema enum violation
- Upstream DNS resolver timeout — may return error or empty result

## How this service works

Resolve DNS records for a hostname — A, AAAA, CNAME, MX, TXT, NS, SOA, CAA or SRV. NXDOMAIN or an absent record type returns an empty record set.

## Output

Returns the DNS record set matching the requested hostname and record type. Each record includes the relevant data fields for that type (e.g. IP address for A/AAAA, hostname and priority for MX, text value for TXT). If the domain does not exist (NXDOMAIN) or the requested record type is absent, an empty record set is returned.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "maxLength": 253,
       "minLength": 1,
       "description": "Hostname to resolve, e.g. \"github.com\"."
      },
      "type": {
       "enum": [
        "A",
        "AAAA",
        "CNAME",
        "MX",
        "TXT",
        "NS",
        "SOA",
        "CAA",
        "SRV"
       ],
       "type": "string",
       "default": "A",
       "description": "DNS record type to query. Defaults to A."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openverbs-dns-resolver-237d2a03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dns.openverbs.com](https://www.zero.xyz/host/dns.openverbs.com/llms.txt)
