{"uid":"cap_r-O94SBqMPE_QN5TGYHXc","slug":"dns-cname-chain-check-64bf550c","name":"DNS CNAME Chain Check","description":"DNS Cname Chain Check: DNS Cname Chain Check checks a caller-supplied CNAME chain for loops and hop budget from bounded caller-supplied values without an external provider. Call DNS Cname Chain Check before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for DNS Cname Chain Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless,…","url":"https://api.delx.ai/api/v1/x402/dns-cname-chain-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"names":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Names supplied to DNS Cname Chain Check; used only for this bounded calculation and processed in memory without retention."},"max_hops":{"type":"integer","description":"Max Hops supplied to DNS Cname Chain Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"hops":2,"loop":false,"names":["www.example.com","edge.example.net","origin.example.net"],"within_budget":true},"schema":"delx/util-dns-cname-chain-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"5413dc5bf3dab733024514776f9526adadb0c9c3253d4fd4df6f85ea895c49ef","external_calls":0},"operation":"web_reliability:dns_cname_chain_check"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BUc2FDnZ7zj4118T6z0O5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a caller-supplied DNS CNAME chain for loops and hop-count budget violations, returning a deterministic pass/advisory verdict without any external DNS lookups.","exampleAgentPrompt":"Check this CNAME chain for loops and make sure it doesn't exceed 5 hops: ['cdn.example.com', 'lb.example.net', 'edge.cdn.net', 'origin.edge.io'].","exampleUseCases":[{"title":"Pre-cache CNAME loop guard","prompt":"Before I cache this DNS response, check this CNAME chain ['shop.mysite.com', 'proxy.cdn.io', 'edge.proxy.net'] for any loops, using a max hop budget of 4."},{"title":"Redirect safety preflight","prompt":"I'm about to follow a redirect from a domain with this CNAME chain: ['api.service.com', 'routing.service.com', 'backend.cluster.net']. Can you verify there's no loop and it stays within 3 hops?"},{"title":"Ingress DNS chain audit","prompt":"We just received a new web response and need to validate the CNAME chain ['app.company.com', 'app.cdn.com', 'delivery.cdn.com', 'origin.delivery.io'] — check it for cycles and confirm it fits within a 6-hop budget."}],"resultDescription":"Returns versioned deterministic JSON containing normalized web evidence about the chain, the computed finding (e.g. detected loop or hop count exceeded), and an explicit pass or advisory status indicating whether the chain is safe to use.","failureModes":["Chain array exceeds 256 items — request rejected","Individual name strings longer than 8192 characters — rejected","Malformed JSON input — 400 error","max_hops not provided or non-integer — validation error","Payment not included or insufficient — x402 payment required response"],"whenToPreferThis":"Choose this endpoint when you need a stateless, deterministic, first-party check of a CNAME chain without issuing live DNS queries or relying on an external resolver. Ideal as a preflight before caching, redirecting, or retrying any caller-supplied DNS chain where loop safety and hop budgets must be verified offline against bounded inputs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:11:28.111Z","isFirstParty":false}