# PennyRail DNS Records Lookup

> PennyRail DNS Records Lookup is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Retrieves DNS records for a given domain via a micropayment-gated API endpoint

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/dns.records--dns-records
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-dns-records-lookup-07029def
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G-SQAO7PVd7Mnpz2BsrUy

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 pennyrail-dns-records-lookup-07029def -d '<json body>'
```

Example prompt: Can you look up all the DNS records for example.com — I need to see the A, MX, and TXT records?

## When to prefer this

Use this endpoint when you need a quick, programmatic DNS record lookup via a micropayment API with no subscription required — ideal for agents that need on-demand DNS resolution without managing API keys or monthly plans.

## Known failure modes

- Invalid or malformed domain name returns an error
- Non-existent domain may return empty records or NXDOMAIN equivalent
- Missing required 'input' field returns a 400-level error
- Network timeouts if upstream DNS resolvers are slow
- Payment failure prevents endpoint access

## How this service works

Machine-readable settlement service

## Output

Returns DNS record data for the queried domain, including record types (A, AAAA, MX, TXT, CNAME, NS, SOA, etc.), their values, and TTL information as a JSON object.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-dns-records-lookup-07029def/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
