# ForgeMesh DNS Record Lookup with DNSSEC

> ForgeMesh DNS Record Lookup with DNSSEC 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-16).

Resolves any DNS record type (A, MX, NS, TXT, etc.) for a hostname and returns structured JSON results including DNSSEC validation status

## Facts

- Endpoint: POST https://x402.forgemesh.io/nameserver-lookup
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-dns-record-lookup-with-dnssec-48cbc590
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZtkpN0mr9FlpUFArFR97I

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-lookup-with-dnssec-48cbc590 -d '<json body>'
```

Example prompt: Can you look up the MX records for stripe.com so I can see what mail servers they use and whether DNSSEC is enabled?

## When to prefer this

Use this endpoint when you need structured DNS resolution with DNSSEC status for any record type — especially for confirming domain migrations, diagnosing email delivery issues, validating infrastructure changes, or checking nameserver configuration. Prefer this over a raw dig/nslookup when you need clean JSON output with DNSSEC context included.

## Known failure modes

- Invalid or non-existent hostname returns error or empty record set
- Unsupported record type may return an error
- DNSSEC status unavailable for some TLDs or resolvers
- Cached stale results if DNS changed within the last 5 minutes
- Network timeout if upstream DNS resolver is slow

## How this service works

Resolve the nameservers, mail servers, or any other DNS record type for a hostname, with DNSSEC status included in the response. Useful for confirming a domain migration completed, diagnosing email delivery issues, or validating that infrastructure changes propagated correctly. Answers are structured JSON and cached for 5 minutes.

## Output

Structured JSON containing the resolved DNS records for the queried record type, including record values, TTLs, and DNSSEC validation status. Results are cached for up to 5 minutes.

## 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-lookup-with-dnssec-48cbc590/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)
