# ForgeMesh DNS Record Checker

> ForgeMesh DNS Record Checker is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Looks up DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR) for any hostname and returns structured JSON with DNSSEC validation status, TTL, and record data.

## Facts

- Endpoint: POST https://x402.forgemesh.io/dns-record-checker
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-dns-record-checker-e4649cd3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RWFxnCfuAa22lKgcBDFyq

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 forgemesh-dns-record-checker-e4649cd3 -d '<json body>'
```

Example prompt: Can you check the MX records for mailgun.com so I can confirm the email routing is set up correctly?

## When to prefer this

Use this endpoint when you need structured, machine-readable DNS record data for any record type including security-relevant ones like CAA and DNSSEC, especially for domain-verification flows, email setup diagnostics, or automated security monitoring. Prefer over manual DNS tools when you need JSON output with TTL data integrated into an agent workflow.

## Known failure modes

- Hostname does not exist (NXDOMAIN) — returns empty or error response
- Invalid record type specified — may return error or default to A record
- DNSSEC validation failure for a signed zone — indicated in response
- Network timeout reaching upstream resolver — returns error
- Malformed hostname input — returns validation error

## How this service works

Check any hostname's DNS records — A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, or PTR — along with whether DNSSEC validates, returned as structured JSON with name, type, TTL, and data for each answer. Built for domain-verification flows, email setup diagnostics, and security-monitoring agents. Cached 5 minutes per query.

## Output

A structured JSON array of DNS answers for the queried hostname and record type, where each answer includes the record name, type, TTL (time to live), and data value, plus a DNSSEC validation indicator. Results are cached for 5 minutes per query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string",
   "description": "Hostname to resolve, e.g. example.com"
  },
  "type": {
   "type": "string",
   "description": "Record type, default A"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "Answer": [
    {
     "TTL": 3600,
     "data": "0 .",
     "name": "example.com",
     "type": 15
    }
   ],
   "Status": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-dns-record-checker-e4649cd3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
