# PennyRail DNS MX/TXT Records Lookup

> PennyRail DNS MX/TXT 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).

Looks up DNS MX and TXT records for a given domain via a paid micro-transaction API endpoint

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/dns.records--dns-mx-txt
- 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-mx-txt-records-lookup-bffec8dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-wcFjwox4zzFDA9Bx7AFO

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-mx-txt-records-lookup-bffec8dd -d '<json body>'
```

Example prompt: Can you look up the MX and TXT DNS records for example.com? I need to see the mail servers and any SPF or DKIM entries.

## When to prefer this

Use this endpoint when you need a pay-per-query, programmatic DNS MX and TXT record lookup without managing your own DNS resolver infrastructure. Prefer it for lightweight, on-demand checks billed at $0.001 USDC per call via the x402 micropayment protocol, especially in agentic workflows where you want metered usage without API key management.

## Known failure modes

- Domain does not exist or has no MX/TXT records — empty or null record sets returned
- Invalid or malformed domain name input — may return an error or empty result
- DNS resolution timeout — slow or unreachable upstream resolvers
- Overly broad input object with missing domain field — schema allows freeform input so incorrect keys may be silently ignored
- Payment failure via x402 protocol — request rejected before DNS lookup is performed

## How this service works

Machine-readable settlement service

## Output

Returns the MX records (mail exchange hostnames and priorities) and TXT records (SPF, DKIM, DMARC, verification tokens, etc.) published in DNS for the queried domain, as a structured 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-mx-txt-records-lookup-bffec8dd/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)
