# Strale DNS Lookup

> Strale DNS Lookup is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0324/call, status unknown (last checked 2026-09-14).

Performs a DNS lookup for a given domain name, returning DNS record data with a cryptographic audit trail.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/dns-lookup
- Price: $0.0324/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-dns-lookup-0c97078d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NIO2A4CbvocmknAbpn34g

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 strale-dns-lookup-0c97078d
```

Example prompt: Can you do a DNS lookup on example.com and show me its DNS records?

## When to prefer this

Choose this endpoint when you need DNS lookup results paired with a cryptographic audit trail — particularly useful in compliance, security investigation, or AI agent workflows where verifiable provenance of data is required. Prefer it over generic DNS APIs when operating across multiple countries or when audit accountability for each lookup matters.

## Known failure modes

- Invalid or malformed domain name returns a validation error
- Non-existent domain (NXDOMAIN) returns empty or error response
- DNS resolution timeout if upstream resolvers are slow
- Missing required 'domain' query parameter returns schema validation error
- Rate limiting or payment failure (x402) may block the request

## How this service works

Perform a comprehensive DNS lookup for a domain. Returns A, AAAA, MX, NS, TXT, CNAME records plus SPF and DMARC detection.

## Output

Returns structured DNS record data for the queried domain (A, MX, CNAME, TXT, NS records and related entries), along with a cryptographically hashed audit record for verifiability and provenance tracking.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "domain": {
  "type": "string"
 },
 "has_spf": {
  "type": "boolean"
 },
 "a_records": {
  "type": "array"
 },
 "has_dmarc": {
  "type": "boolean"
 },
 "mx_records": {
  "type": "array"
 },
 "ns_records": {
  "type": "array"
 }
}
```

## More

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