# TURN TCP SRV Record Lookup

> TURN TCP SRV Record Lookup is a paid API for AI agents from dns.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Looks up SRV records for the _turn._tcp.<domain> service discovery record to find where a domain's TURN server lives.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/srv/turn-tcp?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/turn-tcp-srv-record-lookup-72816683
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jquc_lvup73NBff0WCMEB

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 turn-tcp-srv-record-lookup-72816683
```

Example prompt: What's the TURN TCP server for example.com? Look up its _turn._tcp SRV DNS record and tell me the host, port, priority, and weight.

## When to prefer this

Use this endpoint when you need to programmatically discover a domain's TURN server location via standard DNS SRV service discovery (_turn._tcp), rather than hardcoding hostnames. Ideal for WebRTC applications, VoIP infrastructure tools, and network diagnostic agents that need to find TURN relay endpoints dynamically. Prefer over manual DNS queries when you want a paid, reliable, Cloudflare DoH-backed lookup with structured output.

## Known failure modes

- No SRV record exists for the domain — returns empty result or NXDOMAIN
- Domain does not exist — DNS resolution fails
- Malformed domain name input — query rejected
- Cloudflare DoH upstream timeout or error — service unavailable
- TURN service not configured for the domain — empty answer section

## How this service works

TURN service discovery (_turn._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's turn service lives without guessing hosts. $0.01 per lookup.

## Output

Returns SRV record data for _turn._tcp.<domain>, including one or more records each containing priority (lower = preferred), weight (for load balancing among equal-priority records), port number, and target hostname of the TURN server. If no SRV record exists, returns an empty or negative response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/turn-tcp-srv-record-lookup-72816683/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dns.intel.rallylive.ca](https://www.zero.xyz/host/dns.intel.rallylive.ca/llms.txt)
