{"uid":"cap_jgsB83_e_bdlD11wb-KkC","slug":"srv-record-lookup-for-secure-mqtt-over-tcp-bea2a32a","name":"SRV Record Lookup for Secure MQTT over TCP","description":"SECURE-MQTT service discovery (_secure-mqtt._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's secure-mqtt service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/secure-mqtt-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_V-ChNO1_t0SJKVVUsN9mU","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 the _secure-mqtt._tcp SRV DNS record for a domain, returning priority, weight, port, and target host via Cloudflare DoH.","exampleAgentPrompt":"Look up the _secure-mqtt._tcp SRV record for example.com so I can find the host and port for its secure MQTT broker without guessing.","exampleUseCases":[{"title":"IoT device broker auto-discovery","prompt":"What host and port should my IoT device use to connect to the secure MQTT broker for acme-iot.com? Look up the SRV record for me."},{"title":"Verify MQTT TLS service configuration","prompt":"Can you check if homeautomation.io has a _secure-mqtt._tcp SRV record configured, and tell me the target hostname and port it points to?"},{"title":"Debugging MQTT connection failures","prompt":"My MQTT client can't connect securely to mqttplatform.net — can you pull the _secure-mqtt._tcp SRV DNS record so I can see what host and port it's supposed to be using?"}],"resultDescription":"Returns SRV record fields for _secure-mqtt._tcp.<domain>: priority (integer), weight (integer), port (integer), and target hostname — sourced from Cloudflare DoH. If no record exists, returns an empty or error response indicating the record is not configured.","failureModes":["Domain has no _secure-mqtt._tcp SRV record configured — returns empty result or NXDOMAIN equivalent","Invalid or malformed domain name input — may return an error response","Cloudflare DoH upstream timeout or unavailability — returns a transient error","Domain exists but SRV record is misconfigured — may return partial or unexpected data"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover where a domain's secure MQTT (MQTT over TLS) service lives without hardcoding hostnames or ports. Prefer this over generic DNS lookups when specifically targeting the _secure-mqtt._tcp SRV record type, and over manual configuration when building IoT clients or automation pipelines that need to auto-discover broker endpoints from DNS.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:06.986Z","isFirstParty":false,"canonicalSlug":"srv-record-lookup-for-secure-mqtt-over-tcp-bea2a32a"}