{"uid":"cap_WK_ZJr-BE56IHzzg-n4Q6","slug":"dns-cname-lookup-for-mail-subdomain-via-cloudflare-doh-fbd3ea6f","name":"DNS CNAME Lookup for mail Subdomain via Cloudflare DoH","description":"CNAME record of mail.<domain>: looks up the mail host under the domain you give (CNAME via Cloudflare DoH) and reports whether it exists, its records and TTL. Quick existence check for common hosts like mail without enumerating subdomains. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/host/mail/cname?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_S_uWl8gLjX0wLsElc-AKd","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 the CNAME record for the mail.<domain> subdomain using Cloudflare DNS over HTTPS and returns whether it exists, its records, and TTL.","exampleAgentPrompt":"Can you check if mail.example.com has a CNAME record configured — I want to know if it exists and what it points to?","exampleUseCases":[{"title":"Email delivery infrastructure verification","prompt":"Check whether mail.acmecorp.com has a CNAME record set up and tell me what it resolves to — I'm trying to confirm our mail server is configured correctly."},{"title":"Security audit of mail subdomain","prompt":"I'm auditing domains for a client — can you look up the CNAME record for the mail subdomain of clientdomain.com and report whether it exists and its TTL?"},{"title":"Third-party mail provider detection","prompt":"Does mail.mystartup.io have a CNAME record? I want to know if it's pointing to a third-party mail provider like Google or Outlook."}],"resultDescription":"Returns whether the CNAME record for mail.<domain> exists, the record value(s) it resolves to, and the TTL of the record as reported by Cloudflare DNS over HTTPS.","failureModes":["Domain does not exist — returns NXDOMAIN or no records found","mail subdomain has no CNAME record (may have A/AAAA instead) — returns empty or no-record response","Invalid domain input — may return an error or empty response","Cloudflare DoH service temporarily unavailable — request failure","Rate limiting or payment failure for x402 micropayment"],"whenToPreferThis":"Use this endpoint when you need a quick, targeted check of whether the mail subdomain of a specific domain has a CNAME record, without performing a full subdomain enumeration. Ideal for email infrastructure audits, domain validation workflows, or detecting third-party mail provider configurations. Prefer this over general DNS APIs when you specifically need CNAME resolution for the mail host via Cloudflare DoH.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:55:16.300Z","isFirstParty":false,"canonicalSlug":"dns-cname-lookup-for-mail-subdomain-via-cloudflare-doh-fbd3ea6f"}