# Machine Commerce Lab DNS Inspector

> Machine Commerce Lab DNS Inspector is a paid API for AI agents from machine-commerce-lab.machinecommercelab.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Performs a DNS lookup on a given domain name and returns DNS record information about it.

## Facts

- Endpoint: GET https://machine-commerce-lab.machinecommercelab.workers.dev/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/machine-commerce-lab-dns-inspector-7bb23b4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4nV_2-fDn0tLVUedowQVT

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 machine-commerce-lab-dns-inspector-7bb23b4f
```

Example prompt: Can you look up the DNS records for example.com and tell me what you find?

## When to prefer this

Use this endpoint when you need a simple, pay-per-call DNS lookup for a single domain without setting up your own DNS resolver infrastructure. Particularly useful for AI agents that need occasional DNS inspection as part of a larger workflow, such as verifying domain ownership, checking email configuration, or investigating web infrastructure. At $0.01 USDC per call via x402 micropayment, it is cost-effective for low-to-moderate volume lookups.

## Known failure modes

- Domain not found or does not exist — may return empty results or an error
- Invalid domain name format — returns a validation error
- DNS timeout or upstream resolver failure — returns a connectivity error
- Rate limiting if too many requests are made in quick succession

## How this service works

Read-only public DNS lookup report

## Output

Returns DNS record data for the queried domain, including record types such as A, AAAA, MX, CNAME, TXT, NS, and other DNS configuration details associated with the domain name.

## 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": {
      "domain": {
       "type": "string",
       "description": "Domain name to inspect, for example bbc.co.uk"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/machine-commerce-lab-dns-inspector-7bb23b4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from machine-commerce-lab.machinecommercelab.workers.dev](https://www.zero.xyz/host/machine-commerce-lab.machinecommercelab.workers.dev/llms.txt)
