{"uid":"cap_UW27M9T3e0hF_o1dPS-_k","slug":"smtp-srv-record-lookup-via-cloudflare-doh-9e341a99","name":"SMTP SRV Record Lookup via Cloudflare DoH","description":"SMTP service discovery (_smtp._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's smtp service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/smtp-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_21OTq1ldCrFTtfOQf-G_D","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":"Discovers SMTP service endpoints for a domain by querying _smtp._tcp SRV DNS records through Cloudflare DNS-over-HTTPS, returning priority, weight, port, and target host.","exampleAgentPrompt":"What SMTP server does example.com use? Look up the _smtp._tcp SRV record to find the host, port, priority, and weight.","exampleUseCases":[{"title":"Email infrastructure audit for a domain","prompt":"Can you check where example.com's SMTP service lives? I need the SRV record details — the target host, port, priority, and weight — so I can audit their email infrastructure."},{"title":"Debugging email delivery routing","prompt":"We're having trouble sending email to users at acme.org — can you look up the _smtp._tcp SRV record for acme.org and tell me what host and port their SMTP service is on?"},{"title":"Verifying SMTP configuration for onboarding","prompt":"Before we onboard newclient.io, can you pull their _smtp._tcp SRV record to confirm what SMTP host and port they're configured to use?"}],"resultDescription":"Returns SRV record data for _smtp._tcp.<domain> including one or more records each with priority (integer), weight (integer), port number, and target hostname, sourced from Cloudflare DoH. If no SRV record exists, returns an empty or NXDOMAIN response.","failureModes":["Domain does not have an _smtp._tcp SRV record — returns empty result or NXDOMAIN","Invalid or malformed domain input — returns DNS error","Domain does not exist — NXDOMAIN response","Network or Cloudflare DoH upstream timeout — service unavailable error","Payment failure (x402 protocol) — request not processed"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover a domain's SMTP service endpoint via DNS SRV records rather than guessing common hostnames like mail.domain.com. Ideal for email infrastructure auditing, onboarding validation, and automated mail routing configuration. Prefer over generic DNS tools when you specifically need _smtp._tcp SRV resolution backed by Cloudflare DoH for reliability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:30.175Z","isFirstParty":false,"canonicalSlug":"smtp-srv-record-lookup-via-cloudflare-doh-9e341a99"}