# PennyRail DNS A-Record Resolver

> PennyRail DNS A-Record Resolver is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Resolves a domain name to its IPv4 address(es) via a paid DNS A-record lookup

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/network/dns.a--resolve-domain-ip
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-dns-a-record-resolver-43411b92
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Mp30yqBk5d51pwDNL-xua

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-a-record-resolver-43411b92 -d '<json body>'
```

Example prompt: Can you resolve the domain example.com to its IPv4 address for me?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call DNS A-record resolution without managing your own DNS resolver infrastructure. Ideal for AI agents needing on-demand IP lookups as part of automated workflows, security checks, or network diagnostics, especially when operating in environments where direct DNS queries are unavailable or restricted.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns error or empty result
- Domain has no A record (e.g. AAAA only) — may return empty
- Network or upstream DNS resolver timeout
- Invalid or malformed domain name input — returns validation error
- Payment failure or insufficient USDC balance — request rejected with 402

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing the resolved IPv4 address or addresses associated with the provided domain name, based on DNS A-record lookup.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-dns-a-record-resolver-43411b92/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)
