# DNS-SD SRV Record Lookup

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

Looks up DNS-SD SRV records at _dns-sd._udp.{hostname} for a given registrable domain

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-srv-dns-sd?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-sd-srv-record-lookup-52eef42d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-gF-EVq8t05iazHYsaVAC

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 dns-sd-srv-record-lookup-52eef42d -d '<json body>'
```

Example prompt: Can you look up the DNS-SD SRV records for example.com to see what services are being advertised via DNS-based service discovery?

## When to prefer this

Use this endpoint when an agent specifically needs DNS-SD SRV records (at _dns-sd._udp.{hostname}) for a registrable domain, such as auditing service discovery configurations or resolving what network services a domain advertises. Prefer the free POST /v1/sandbox/dns-srv-dns-sd endpoint during testing. Choose this over generic DNS lookup tools when you need the DNS-SD-specific underscore-prefixed SRV path resolved automatically from a plain registrable domain name.

## Known failure modes

- Domain not found or no SRV records exist at _dns-sd._udp.{hostname} — returns empty or error response
- Invalid or malformed hostname input (exceeds 253 chars or empty) — returns validation error
- Network timeout when querying authoritative DNS servers
- Non-registrable or private/internal domain name supplied — may return no results
- Payment failure for the $0.01 USDC charge — request rejected before DNS lookup

## How this service works

Call when an agent needs SRV records at _dns-sd._udp.{hostname} for DNS-SD. The caller sends the registrable domain, not the underscored name. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/dns-srv-dns-sd first.

## Output

Returns the SRV records found at _dns-sd._udp.{hostname}, including priority, weight, port, and target host for each service entry discovered via DNS-SD under the given registrable domain.

## 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/dns-sd-srv-record-lookup-52eef42d/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)
