# DNS SRV Record Lookup for SSH (_ssh._tcp)

> DNS SRV Record Lookup for SSH (_ssh._tcp) 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-19).

Looks up SRV records at _ssh._tcp.{hostname} for a given registrable domain, returning SSH service discovery information.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-srv-ssh?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-srv-record-lookup-for-ssh-ssh-tcp-218127e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EwifxZXG9Y0FqIRr9dNxu

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-srv-record-lookup-for-ssh-ssh-tcp-218127e7 -d '<json body>'
```

Example prompt: Can you look up the SSH SRV DNS record for example.com and tell me what host and port the SSH service is at?

## When to prefer this

Use this endpoint when an agent needs to programmatically discover SSH service endpoints via DNS SRV records for a given domain, particularly in automated infrastructure workflows or deployment pipelines. Prefer the unpaid POST /v1/sandbox/dns-srv-ssh endpoint first for testing; use this paid endpoint for production lookups.

## Known failure modes

- Domain not found or does not exist (NXDOMAIN)
- No SRV record present for _ssh._tcp under the given hostname
- Malformed or too-long hostname input (exceeds 253 chars)
- DNS resolution timeout or upstream resolver error
- Payment failure or insufficient USDC balance

## How this service works

Call when an agent needs SRV records at _ssh._tcp.{hostname} for SSH. The caller sends the registrable domain, not the underscored name. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/dns-srv-ssh first.

## Output

Returns SRV record data for the _ssh._tcp service under the provided hostname, including the target host, port, priority, and weight values that indicate where SSH connections should be directed.

## 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-srv-record-lookup-for-ssh-ssh-tcp-218127e7/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)
