{"uid":"cap_3zHh0SOhKElwxQi9NT9OA","slug":"turns-tcp-srv-record-lookup-via-cloudflare-doh-2f279d41","name":"TURNS TCP SRV Record Lookup via Cloudflare DoH","description":"TURNS service discovery (_turns._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's turns service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/turns-tcp?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fFO9_jyYTKEuxSGG4Kr_6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves _turns._tcp SRV DNS records for a domain using Cloudflare DNS-over-HTTPS, returning priority, weight, port, and target host for the TURNS service.","exampleAgentPrompt":"What TURNS server does example.com use? Look up its _turns._tcp SRV record so I know the host and port to connect to.","exampleUseCases":[{"title":"WebRTC relay server discovery","prompt":"I'm setting up a WebRTC app and need to know where example.com's TURNS relay server lives — can you look up its _turns._tcp SRV record and tell me the host, port, priority and weight?"},{"title":"Verify TURNS DNS configuration","prompt":"Check whether acme-corp.com has a properly configured _turns._tcp SRV record — I want to confirm the target host and port are set correctly before we go live."},{"title":"Audit TURNS infrastructure for a domain list","prompt":"Can you pull the _turns._tcp SRV DNS record for voip-provider.net? I need the priority and weight values to document their TURNS infrastructure setup."}],"resultDescription":"Returns SRV DNS records for the _turns._tcp service of the queried domain, including one or more records each containing priority, weight, port number, and target hostname, along with TTL and the DNS response code (e.g. NOERROR or NXDOMAIN).","failureModes":["Domain has no _turns._tcp SRV record — returns NXDOMAIN or empty answer section","Malformed or missing domain input — request rejected with error","Cloudflare DoH upstream unavailable — service may return 502/503","Domain exists but TURNS service not configured — empty SRV answer","Rate limiting or payment failure — 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover a domain's TURNS relay server location (host, port, priority, weight) via authoritative DNS SRV lookup, rather than guessing or hardcoding hostnames. Prefer it over generic DNS resolvers when you specifically need _turns._tcp SRV semantics resolved via Cloudflare DoH for consistency and privacy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T19:02:42.455Z","isFirstParty":false,"canonicalSlug":"turns-tcp-srv-record-lookup-via-cloudflare-doh-2f279d41"}