# AgentShelf DNS NS Lookup

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

Returns the NS (name server) hostnames for a given public domain name via DNS lookup

## Facts

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

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-dns-ns-lookup-4720b918 -d '<json body>'
```

Example prompt: What are the NS hostnames for github.com? I need to see which name servers are authoritative for that domain.

## When to prefer this

Use this endpoint when you need to programmatically retrieve authoritative NS records for a public domain name as part of DNS auditing, infrastructure analysis, domain verification, or DNS delegation checks. Prefer the free sandbox endpoint (/v1/sandbox/dns-ns) for testing or non-production lookups to avoid the $0.001 USDC charge.

## Known failure modes

- Domain does not exist or has no NS records — returns empty or error response
- Malformed hostname input exceeding 253 characters or empty string — rejected by schema validation
- Private or internal hostname not publicly resolvable — lookup fails
- Temporary DNS resolution failure or upstream timeout — may return error

## How this service works

Call when an agent needs NS hostnames for the public name. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/dns-ns first.

## Output

A list of NS (name server) hostnames that are authoritative for the queried domain, as returned by DNS resolution. Typically includes two or more name server FQDNs (e.g. ns1.example.com, ns2.example.com).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hostname": {
   "type": "string",
   "examples": [
    "example.com"
   ],
   "maxLength": 253,
   "minLength": 1,
   "description": "Public DNS hostname such as example.com. Not a URL, not an IP literal, and not a private name."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-dns-ns-lookup-4720b918/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)
