{"uid":"cap_4IFlsNt7jeWRwmgQ-B9qm","slug":"ssh-srv-record-lookup-via-cloudflare-doh-66187a91","name":"SSH SRV Record Lookup via Cloudflare DoH","description":"SSH service discovery (_ssh._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's ssh service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/ssh-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_sZYiq7R0Rp1HNIWYmGmTq","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 DNS records for the _ssh._tcp service of a given domain using Cloudflare DNS over HTTPS, returning priority, weight, port, and target host.","exampleAgentPrompt":"What host and port does example.com use for its SSH service? Look up the _ssh._tcp SRV DNS record for that domain.","exampleUseCases":[{"title":"SSH server discovery for automation","prompt":"I need to programmatically connect to the SSH service for acmecorp.com — can you look up the SRV DNS record for _ssh._tcp.acmecorp.com to get me the exact host and port?"},{"title":"Infrastructure audit of SSH endpoints","prompt":"We're auditing our SSH infrastructure — can you resolve the _ssh._tcp SRV record for devops.mycompany.io and tell me the priority, weight, port, and target host it returns?"},{"title":"Verifying SSH service migration","prompt":"We just migrated our SSH service for staging.example.net to a new host — can you check the _ssh._tcp SRV DNS record for staging.example.net to confirm it's pointing to the right place now?"}],"resultDescription":"Returns the SRV DNS records for the _ssh._tcp service of the given domain, including one or more records each containing priority, weight, port number, and target hostname, along with TTL and DNS response code (e.g. NOERROR or NXDOMAIN), sourced from Cloudflare DNS over HTTPS.","failureModes":["Domain has no _ssh._tcp SRV record — returns NXDOMAIN or empty answer section","Domain does not exist — DNS resolution failure","Malformed domain input — request rejected","Cloudflare DoH upstream timeout or rate limit — transient error","Domain has SRV records but SSH service is not configured — empty result"],"whenToPreferThis":"Choose this endpoint when you need to discover the authoritative SSH service host and port for a domain via DNS SRV records, without guessing hostnames or hardcoding ports. It is ideal for automated infrastructure tooling, SSH connection setup scripts, or auditing workflows that need reliable service-location data from Cloudflare's DNS over HTTPS resolver. Prefer it over generic SRV lookup endpoints when you specifically need _ssh._tcp service discovery backed by Cloudflare's resolver.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T20:33:44.441Z","isFirstParty":false,"canonicalSlug":"ssh-srv-record-lookup-via-cloudflare-doh-66187a91"}