# orbit Web Tools: DNS Lookup

> orbit Web Tools: DNS Lookup is a paid API for AI agents from orbit-web.orbit-builder.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-29).

Performs live DNS lookups for any domain via DNS-over-HTTPS (Cloudflare 1.1.1.1), returning records by type with TTL, DNSSEC status, parsed SPF, and DMARC policy.

## Facts

- Endpoint: GET https://orbit-web.orbit-builder.workers.dev/v1/dns?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orbit-web-tools-dns-lookup-863989a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eZ6cdSRwg9dNTXnih2Fi_

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 orbit-web-tools-dns-lookup-863989a2
```

Example prompt: Can you look up all the DNS records for github.com, including SPF and DMARC policies?

## When to prefer this

Choose this endpoint when you need live, authoritative DNS data from Cloudflare's 1.1.1.1 resolver with structured output including DNSSEC validation and pre-parsed SPF/DMARC policies — especially useful for email security audits, domain verification, and infrastructure reconnaissance. Prefer it over generic DNS tools when you need a single API call to return all record types at once with parsed email policy metadata.

## Known failure modes

- NXDOMAIN rcode returned when domain does not exist in DNS
- Missing record types when the domain has no records of that type
- Network or upstream DNS errors from Cloudflare 1.1.1.1
- Invalid domain name format causing a bad request
- Payment failure via x402 protocol blocking the request

## How this service works

Web utilities for agents, computed live at call time: URL health/redirect/x402 check, web page to Markdown (robots.txt honoured), DNS lookup with SPF/DMARC, email address validation (MX, disposable, role, typo), HTTP security-header audit and AI-agent readiness audit (llms.txt, AI crawler rules, x402, MCP, OpenAPI). $0.001 per call. By orbit-builder.

## Output

Returns a JSON object with: the queried domain, rcode (NOERROR or NXDOMAIN), a records map keyed by DNS type (e.g. A, MX, TXT) each containing data and TTL, a boolean dnssec_ad flag indicating DNSSEC validation, and when applicable parsed SPF string and DMARC policy object (including the 'p' policy value like 'reject').

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "type": {
       "type": "string",
       "description": "A, AAAA, CNAME, MX, NS, TXT, CAA, SOA or ALL (default ALL)"
      },
      "domain": {
       "type": "string",
       "description": "domain name, e.g. example.com"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "spf": "v=spf1 -all",
  "dmarc": {
   "p": "reject"
  },
  "rcode": "NOERROR",
  "domain": "example.com",
  "records": {
   "A": [
    {
     "ttl": 300,
     "data": "93.184.215.14"
    }
   ],
   "MX": [
    {
     "ttl": 86400,
     "data": "0 ."
    }
   ]
  },
  "dnssec_ad": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orbit-web-tools-dns-lookup-863989a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orbit-web.orbit-builder.workers.dev](https://www.zero.xyz/host/orbit-web.orbit-builder.workers.dev/llms.txt)
