{"uid":"cap_rT7gfWUGNFQHng2MmAC-v","slug":"turn-udp-srv-record-lookup-via-cloudflare-doh-aec638a0","name":"TURN UDP SRV Record Lookup via Cloudflare DoH","description":"TURN service discovery (_turn._udp.<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.","url":"https://dns.intel.rallylive.ca/dns/srv/turn-udp?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_DqslMa5TksX-FNayXzyMo","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 _turn._udp SRV DNS records for a domain via Cloudflare DoH, returning priority, weight, port, and target host for the domain's TURN service.","exampleAgentPrompt":"Look up the TURN UDP SRV record for example.com using Cloudflare DoH and tell me the host, port, priority, and weight of its TURN service.","exampleUseCases":[{"title":"WebRTC TURN server discovery","prompt":"My WebRTC app needs to find the TURN relay server for company.io — can you look up the _turn._udp SRV record for company.io and give me the hostname and port?"},{"title":"VoIP infrastructure audit","prompt":"I'm auditing the SIP/VoIP setup for voip-provider.net — please resolve the _turn._udp SRV record so I can see what TURN server they're pointing to and on which port."},{"title":"NAT traversal configuration check","prompt":"Before I deploy my video conferencing app, I need to verify that turn.conferencing-platform.com has a proper TURN UDP SRV record configured — can you pull it and show me the priority, weight, port, and target?"}],"resultDescription":"Returns the _turn._udp SRV DNS records for the queried domain as resolved by Cloudflare DoH (1.1.1.1), including each record's priority, weight, port number, and target hostname, along with the TTL and DNS response code.","failureModes":["Domain has no _turn._udp SRV record — returns empty answer set or NXDOMAIN","Domain does not exist — NXDOMAIN response","Cloudflare DoH upstream timeout or error — service may return 5xx","Missing or malformed domain input — 400 bad request","Payment not fulfilled — 402 response before lookup is executed"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover a domain's TURN relay server over UDP via authoritative SRV DNS records, especially for WebRTC, VoIP, or NAT traversal applications. Prefer this over manual DNS tools when you want a lightweight, pay-per-use API backed by Cloudflare's reliable DoH infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:31.001Z","isFirstParty":false,"canonicalSlug":"turn-udp-srv-record-lookup-via-cloudflare-doh-aec638a0"}