{"uid":"cap_asiSZBdMGokSvEnbmyJjV","slug":"dns-cname-record-lookup-with-dangling-cname-detection-3d226bc2","name":"DNS CNAME Record Lookup with Dangling-CNAME Detection","description":"DNS CNAME record lookup for a hostname: the alias target chain, TTL, and a dangling-CNAME check (target does not resolve, a subdomain-takeover risk indicator). Asset inventory and security hygiene. $0.01 per lookup.","url":"https://intel.rallylive.ca/dns/cname","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_NuC_cPYp9elKQ4UPzeRV7","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 CNAME alias target chain for a hostname, returns TTL, and flags dangling CNAMEs (targets that don't resolve) as subdomain-takeover risk indicators.","exampleAgentPrompt":"Look up the CNAME record for staging.example.com — I need to see the full alias chain, the TTL, and whether the target resolves or if it's dangling and at risk of subdomain takeover.","exampleUseCases":[{"title":"Subdomain takeover risk audit","prompt":"Check the CNAME record for api.mycompany.com — I want to know the full alias chain, the TTL, and whether the target actually resolves so I can tell if it's vulnerable to subdomain takeover."},{"title":"Asset inventory CNAME mapping","prompt":"Look up the CNAME record for shop.mybrand.com so I can document what it's aliased to and whether the target is live — I'm building a DNS asset inventory."},{"title":"Security hygiene scan for acquired domain","prompt":"We just acquired a company and I need to check if any of their subdomains like cdn.acquired-co.com have dangling CNAMEs pointing nowhere — can you look up the CNAME record and tell me if it's at risk?"}],"resultDescription":"Returns the full CNAME alias target chain (the sequence of canonical names until a final target), the TTL of the record, and a boolean dangling-CNAME indicator that flags whether the terminal target fails to resolve — a signal for potential subdomain takeover vulnerability.","failureModes":["Hostname has no CNAME record (returns empty or not-found response)","Network error reaching the DNS resolver","Invalid or malformed hostname input","Transient DNS resolution failure producing false dangling-CNAME positive","Payment failure if x402 microtransaction is not completed"],"whenToPreferThis":"Choose this endpoint when you specifically need CNAME alias chain resolution combined with a dangling-CNAME security check — particularly useful for security hygiene audits, subdomain takeover risk detection, and DNS asset inventory. If you need A, MX, and TXT records in one call, prefer the general dns-lookup sibling endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:04:05.250Z","isFirstParty":false}