# agentshelf.syntexa.ch DNS Lookup

> agentshelf.syntexa.ch DNS Lookup is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Resolves public DNS records (A, AAAA, MX, TXT, CNAME) for a given hostname, blocking private/internal targets

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-lookup?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-syntexa-ch-dns-lookup-395b2ae2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Rwv7GJPRbn7GsTfSjPa9G

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 agentshelf-syntexa-ch-dns-lookup-395b2ae2 -d '<json body>'
```

Example prompt: Can you look up the A, MX, and TXT DNS records for github.com?

## When to prefer this

Use this endpoint when an agent needs to programmatically resolve one or more standard DNS record types for a public hostname, especially when you need multiple record types in a single call (up to 5). It is SSRF-safe (private targets blocked) and priced at $0.003 USDC per call, making it suitable for lightweight DNS enrichment tasks. Prefer the free sandbox endpoint (/v1/sandbox/dns-lookup) for testing before incurring charges.

## Known failure modes

- Private or internal hostnames are blocked and will be rejected
- Invalid or malformed hostnames return an error
- Requesting zero or more than 5 record types at once is rejected
- Non-existent domains may return empty results or NXDOMAIN
- Network or upstream resolver errors may cause transient failures

## How this service works

Call when an agent needs public DNS A, AAAA, MX, TXT, and CNAME records for a hostname (private targets blocked). Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/dns-lookup first.

## Output

Returns the requested DNS record types for the given hostname, including record values such as IP addresses for A/AAAA records, mail server hostnames and priorities for MX records, arbitrary text values for TXT records, and canonical name targets for CNAME records. Private/internal IP targets are blocked for security.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "types": {
   "type": "array",
   "items": {
    "enum": [
     "A",
     "AAAA",
     "MX",
     "TXT",
     "CNAME"
    ],
    "type": "string"
   },
   "examples": [
    [
     "A",
     "AAAA",
     "MX",
     "TXT",
     "CNAME"
    ]
   ],
   "maxItems": 5,
   "minItems": 1,
   "description": "Record types to query. Any of A, AAAA, MX, TXT, CNAME. Omit it to query all five."
  },
  "hostname": {
   "type": "string",
   "examples": [
    "example.com"
   ],
   "maxLength": 253,
   "minLength": 1,
   "description": "Public hostname such as example.com. Private and metadata names are blocked. Not a URL."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-syntexa-ch-dns-lookup-395b2ae2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
