# agent-services x402 DNS Lookup

> agent-services x402 DNS Lookup is a paid API for AI agents from 49112-hjhjtioxvirqvcvo.splox.app, paid per call via x402, $0.0005/call, status unknown (last checked 2026-10-02).

Resolves DNS records for a given domain and returns A, AAAA, MX, TXT, NS, CNAME, SOA, CAA records along with derived flags for mail, SPF, and DMARC presence.

## Facts

- Endpoint: GET https://49112-hjhjtioxvirqvcvo.splox.app/dns-lookup?utm_source=zero.xyz
- Price: $0.0005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-services-x402-dns-lookup-0fc68b71
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FEJ_6laqPN9fF3kfEtt-_

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 agent-services-x402-dns-lookup-0fc68b71
```

Example prompt: Can you do a full DNS lookup for stripe.com and tell me whether it resolves, what its MX records are, and whether SPF and DMARC are configured?

## When to prefer this

Choose this endpoint when you need a comprehensive, multi-record-type DNS lookup with derived email and security flags (SPF, DMARC, has_mail) in a single call, especially in agent workflows where you need to verify domain configuration or email infrastructure. Ideal for per-call, pay-as-you-go usage over x402 (USDC on Base) without any subscription. Prefer over manual DNS tools when you need structured, machine-readable output ready for downstream agent logic.

## Known failure modes

- Domain does not exist or does not resolve — resolves: false returned
- Individual record type queries may fail — reported in errors object
- Invalid or malformed domain name input — likely error response
- DNS timeout or upstream resolver failure — may result in partial records or error

## How this service works

Paid per-call web tools for AI agents: DNS, TLS, robots.txt, hashing, JavaScript rendering and screenshots. Payment over x402 (USDC on Base).

## Output

A JSON object containing the normalized hostname, a boolean indicating whether the domain resolves, per-record-type values (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA), and derived boolean flags: has_mail (MX records exist), spf (SPF present in TXT), and dmarc (_dmarc TXT record present). An errors object may be present describing per-record-type failures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "name"
 ],
 "properties": {
  "name": {
   "type": "string",
   "description": "domain to resolve, e.g. example.com"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "name",
  "records",
  "resolves"
 ],
 "properties": {
  "spf": {
   "type": "boolean",
   "description": "SPF record present in TXT"
  },
  "name": {
   "type": "string",
   "description": "normalized host"
  },
  "dmarc": {
   "type": "boolean",
   "description": "_dmarc TXT record present"
  },
  "errors": {
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  },
  "records": {
   "type": "object",
   "description": "per-record-type values (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA); missing key = no such record",
   "additionalProperties": true
  },
  "has_mail": {
   "type": "boolean",
   "description": "true when MX records exist"
  },
  "resolves": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-services-x402-dns-lookup-0fc68b71/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 49112-hjhjtioxvirqvcvo.splox.app](https://www.zero.xyz/host/49112-hjhjtioxvirqvcvo.splox.app/llms.txt)
