# Stride Gateway DNS Lookup API

> Stride Gateway DNS Lookup API is a paid API for AI agents from gateway.stride20k.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Resolves any DNS record type (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR) via Cloudflare's 1.1.1.1 DNS-over-HTTPS resolver with DNSSEC validation status

## Facts

- Endpoint: GET https://gateway.stride20k.com/network/dns/:type/:name
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stride-gateway-dns-lookup-api-ffffa464
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_05qw-_WUVIi8gPLGi9H2i

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 stride-gateway-dns-lookup-api-ffffa464
```

Example prompt: Can you look up the MX records for stripe.com using Cloudflare's DoH resolver and tell me if DNSSEC is validated?

## When to prefer this

Use this endpoint when you need authoritative DNS resolution backed by Cloudflare's 1.1.1.1 resolver with DNSSEC validation status, cached responses up to 5 minutes, and structured JSON output including TTL and type codes. Prefer this over raw DNS queries when building agents for infrastructure checks, email deliverability verification, domain security auditing, or any workflow requiring programmatic DNS data without managing DNS client libraries.

## Known failure modes

- NXDOMAIN (non-existent domain) returns a 404 error
- Invalid or unsupported DNS record type returns a validation error
- Network timeout from upstream Cloudflare resolver
- Domain with no records of the requested type returns an empty answers array
- Malformed domain name input causes parsing error

## How this service works

DNS lookup API: resolve any DNS record via Cloudflare's 1.1.1.1 DNS-over-HTTPS resolver with DNSSEC validation status. Types A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR; returns the full answer section (name, type code, TTL, data). NXDOMAIN returns an unpaid 404. Use for infrastructure checks, email deliverability, domain verification, and security tooling by agents. Cached up to 5 minutes.

## Output

Returns a JSON object with the queried name and record type, an array of answer records each containing name, type code, TTL, and data, a DNSSEC validation boolean (AD bit), and metadata including whether the response was served from cache and the ISO 8601 timestamp of the upstream fetch.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stride-gateway-dns-lookup-api-ffffa464/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stride20k.com](https://www.zero.xyz/host/gateway.stride20k.com/llms.txt)
