# 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 comprehensive DNS lookup for a domain, returning A, AAAA, MX, NS, TXT, CNAME records plus SPF and DMARC detection

## Facts

- Endpoint: GET https://api.strale.io/x402/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/api-strale-io-33286503
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nNO1TIBhpaqXNMzTlHFjG

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 api-strale-io-33286503
```

Example prompt: Can you do a full DNS lookup for github.com and tell me all its record types including A, MX, NS, TXT, and whether SPF and DMARC are properly configured?

## When to prefer this

Use this endpoint when you need a comprehensive, single-call DNS audit covering all major record types plus email security records (SPF/DMARC) simultaneously, rather than making multiple separate DNS queries. Ideal for domain infrastructure investigation, email deliverability troubleshooting, or security audits.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns empty or error response
- Invalid domain format provided — validation error
- DNS timeout or upstream resolver failure — service error
- Domain has no records of a specific type — returns empty array for that record type

## 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

A structured response containing all major DNS record types (A, AAAA, MX, NS, TXT, CNAME) for the queried domain, along with parsed SPF policy details and DMARC configuration detection, giving a complete picture of the domain's DNS setup.

## Example request

```json
{
 "domain": "example.com"
}
```

## 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/api-strale-io-33286503/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)
