# ProbeKit DNS Lookup

> ProbeKit DNS Lookup is a paid API for AI agents from api.probekit.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Resolves one or more DNS record types (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV) for a given domain name via public resolvers, returning records with TTL, observation time, and the resolver used.

## Facts

- Endpoint: GET https://api.probekit.dev/v1/dns/lookup?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/probekit-dns-lookup-2240d163
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WzWd_RPf7xonJByL2rDX0

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 probekit-dns-lookup-2240d163
```

Example prompt: Can you look up the TXT records for _dmarc.example.com using public DNS resolvers and tell me what value is returned, which resolver answered, and what the TTL is?

## When to prefer this

Use this endpoint when you need the current authoritative public DNS answer for a specific name, especially to confirm record propagation, read TXT verification tokens, or inspect any of the nine supported record types (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV). Prefer this over general-purpose DNS tools when you need TTL information, resolver identity, and precise observation timestamps alongside the record values. It is purpose-built for agentic workflows requiring DNS ground-truth checks.

## Known failure modes

- Domain name does not exist (NXDOMAIN) — no records returned
- Requested record type has no records for that name — empty result
- Invalid or malformed domain name input — validation error
- DNS resolution timeout — resolver did not respond in time
- Network error reaching public resolver — service may return error
- TTL of 0 or very short TTL may indicate recent change still propagating

## How this service works

Resolve chosen DNS record types (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV) for a name through public resolvers, with TTL, observation time and the resolver that answered. Use when an agent needs the current public DNS answer for a name, for example to confirm that a record change is visible or to read a TXT verification record.

## Output

Returns a list of DNS records for the queried name and requested record types. Each record includes the record type, value(s), TTL (time to live in seconds), the timestamp of observation, and the identity of the public resolver that answered. Multiple record types can be returned in a single response if multiple types were requested.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "title": "DnsLookupInput",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "title": "Name",
       "examples": [
        "_dmarc.example.com"
       ],
       "maxLength": 1024,
       "minLength": 1
      },
      "types": {
       "type": "array",
       "items": {
        "enum": [
         "A",
         "AAAA",
         "CNAME",
         "MX",
         "NS",
         "TXT",
         "SOA",
         "CAA",
         "SRV"
        ],
        "type": "string",
        "title": "RecordType"
       },
       "title": "Types",
       "default": [
        "A"
       ],
       "maxItems": 9,
       "minItems": 1
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/probekit-dns-lookup-2240d163/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.probekit.dev](https://www.zero.xyz/host/api.probekit.dev/llms.txt)
