# DNS Lookup via Industrial Platform Web Tools

> DNS Lookup via Industrial Platform Web Tools is a paid API for AI agents from x402-gateway-production-1f21.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Performs DNS record lookups for a given hostname, returning records for types like A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, or SRV.

## Facts

- Endpoint: POST https://x402-gateway-production-1f21.up.railway.app/dns?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-lookup-via-industrial-platform-web-tools-a1baab40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GGTm42rk2JGmPGB6Caedk

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-via-industrial-platform-web-tools-a1baab40 -d '<json body>'
```

Example prompt: Can you look up the MX records for github.com so I can see which mail servers handle their email?

## When to prefer this

Use this endpoint when you need programmatic, machine-payable DNS lookups within an x402 micropayment workflow, especially when already integrated with the Industrial Platform Web Tools gateway for other utilities like URL extraction or checksums. Prefer it for spot DNS queries at $0.001 per call without needing to manage DNS resolver infrastructure.

## Known failure modes

- Invalid or non-existent hostname returns empty record set or error
- Unsupported DNS record type enum value causes schema validation failure
- Host field missing causes request rejection
- Transient upstream DNS resolver failures may return timeout or error
- Payment failure or insufficient USDC balance blocks the request

## How this service works

Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.

## Output

Returns DNS records for the queried hostname and record type, including relevant values such as IP addresses, mail server hostnames with priority, text strings, nameserver names, or other record-type-specific data.

## 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": [
      "host"
     ],
     "properties": {
      "host": {
       "type": "string"
      },
      "type": {
       "enum": [
        "A",
        "AAAA",
        "MX",
        "TXT",
        "NS",
        "CNAME",
        "SOA",
        "CAA",
        "SRV"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ready"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-lookup-via-industrial-platform-web-tools-a1baab40/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production-1f21.up.railway.app](https://www.zero.xyz/host/x402-gateway-production-1f21.up.railway.app/llms.txt)
