{"uid":"cap_oD-QSFRhUGNoMvoq9gggK","slug":"gc-tcp-srv-record-lookup-via-cloudflare-doh-9472938c","name":"GC TCP SRV Record Lookup via Cloudflare DoH","description":"GC service discovery (_gc._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's gc service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/gc-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_GqPsopAPGM0lwJtvhahRg","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":"Looks up SRV records for the _gc._tcp service of a given domain using Cloudflare DNS-over-HTTPS, returning priority, weight, port, and target host.","exampleAgentPrompt":"Can you look up the SRV record for the _gc._tcp service on example.com so I can find out which host and port the gc service is running on?","exampleUseCases":[{"title":"Discovering GC service endpoint","prompt":"I need to find the host and port that the gc service is running on for acmecorp.com — can you pull the _gc._tcp SRV record for that domain?"},{"title":"Validating GC service configuration","prompt":"Can you check the _gc._tcp SRV record for mygameserver.io and tell me the priority, weight, port, and target host so I can verify it's set up correctly?"},{"title":"Automated service routing lookup","prompt":"For the domain platform.startup.dev, look up the _gc._tcp SRV record and give me the full details including priority and target host so I can route connections correctly."}],"resultDescription":"Returns SRV record fields for the _gc._tcp service under the queried domain: priority (integer), weight (integer), port (integer), and target hostname, as resolved by Cloudflare DNS-over-HTTPS.","failureModes":["Domain does not have a _gc._tcp SRV record — returns empty or NXDOMAIN","Invalid or malformed domain name input — may return an error response","Cloudflare DoH upstream timeout or failure — may result in no data returned","Domain exists but SRV record not configured — returns no records"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover the host and port for a GC service running on a domain via DNS SRV records, especially when you want results via Cloudflare's DoH for privacy and reliability rather than system-level DNS resolution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:06.404Z","isFirstParty":false,"canonicalSlug":"gc-tcp-srv-record-lookup-via-cloudflare-doh-9472938c"}