{"uid":"cap_JwWIBHleO1OtfUPs9NYxm","slug":"brainiac-dns-resolution-diagnosis-8af8eeea","name":"BRAINIAC DNS Resolution Diagnosis","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/network-intelligence/dns-resolution-diagnose?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"asOf":{"type":"string","maxLength":40},"file":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"logs":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"source":{"type":"string","maxLength":200},"message":{"type":"string","maxLength":4000},"facility":{"type":"string","maxLength":80},"severity":{"type":"string","maxLength":40},"sourceIp":{"type":"string","maxLength":80},"destinationIp":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":10000},"text":{"type":"string","maxLength":200000},"files":{"type":"array","items":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"maxItems":20},"configs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"key":{"type":"string","maxLength":200},"path":{"type":"string","maxLength":200},"side":{"enum":["left","right","before","after","a","b"],"type":"string"},"value":{"type":"string","maxLength":4000},"source":{"type":"string","maxLength":200},"deviceId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":10000},"bgpRoutes":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"peer":{"type":"string","maxLength":80},"side":{"enum":["before","after","left","right","a","b"],"type":"string"},"asPath":{"type":"string","maxLength":500},"prefix":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"nextHop":{"type":"string","maxLength":80},"originAs":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"incidents":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"title":{"type":"string","maxLength":200},"detail":{"type":"string","maxLength":2000},"source":{"type":"string","maxLength":200},"severity":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"publicDns":{"type":"object","required":["hostname"],"properties":{"hostname":{"type":"string","maxLength":253,"minLength":1},"recordType":{"enum":["A","AAAA","CNAME","MX","TXT","NS"],"type":"string"}},"additionalProperties":false},"publicTls":{"type":"object","required":["host"],"properties":{"host":{"type":"string","maxLength":253,"minLength":1}},"additionalProperties":false},"dnsRecords":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"rcode":{"type":"string","maxLength":40},"answer":{"type":"string","maxLength":500},"source":{"type":"string","maxLength":200},"hostname":{"type":"string","maxLength":253},"resolver":{"type":"string","maxLength":80},"latencyMs":{"type":"number","maximum":1000000,"minimum":0},"recordType":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA"],"type":"string"},"expectedAnswer":{"type":"string","maxLength":500}},"additionalProperties":false},"maxItems":5000},"reputations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"ip":{"type":"string","maxLength":80},"score":{"type":"number","maximum":100,"minimum":0},"listed":{"type":"boolean"},"source":{"type":"string","maxLength":200},"category":{"type":"string","maxLength":120},"hostname":{"type":"string","maxLength":253},"listName":{"type":"string","maxLength":120},"observedAt":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"certificates":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"issuer":{"type":"string","maxLength":200},"source":{"type":"string","maxLength":200},"notAfter":{"type":"string","maxLength":40},"notBefore":{"type":"string","maxLength":40},"commonName":{"type":"string","maxLength":253},"serialNumber":{"type":"string","maxLength":120},"fingerprintSha256":{"type":"string","maxLength":120}},"additionalProperties":false},"maxItems":2000},"latencySamples":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"pathId":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"latencyMs":{"type":"number","maximum":1000000,"minimum":0}},"additionalProperties":false},"maxItems":10000},"latencyAnomalyZ":{"type":"number","maximum":10,"minimum":1},"expiryWarningDays":{"type":"number","maximum":3650,"minimum":0},"packetLossSamples":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"lost":{"type":"number","maximum":1000000000,"minimum":0},"sent":{"type":"number","maximum":1000000000,"minimum":0},"pathId":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"lossPct":{"type":"number","maximum":100,"minimum":0}},"additionalProperties":false},"maxItems":10000},"packetLossWarnPct":{"type":"number","maximum":100,"minimum":0}}},"responseSchema":{"type":"json","example":{"items":[{"id":"D1","rcode":"NOERROR","answer":"93.184.216.34","issues":[],"source":"Caller-supplied resolver log","healthy":true,"hostname":"www.example.com","resolver":"","latencyMs":12,"recordType":"A","expectedAnswer":"93.184.216.34","latencyMsSupplied":true,"privateNetworkScanned":false},{"id":"D2","rcode":"NOERROR","answer":"203.0.113.9","issues":["answer_mismatch"],"source":"Caller-supplied resolver log","healthy":false,"hostname":"api.example.com","resolver":"","latencyMs":0,"recordType":"A","expectedAnswer":"198.51.100.9","latencyMsSupplied":false,"privateNetworkScanned":false}],"status":"diagnosed","findings":[{"code":"dns_mismatch","kind":"conflict","detail":"DNS answer \"203.0.113.9\" does not match expected \"198.51.100.9\".","subject":"D2"}],"checkedAt":"2026-11-04T21:00:00.000Z","limitations":["Network logs, latency/packet-loss samples, DNS answers, BGP routes, certificates, configs, reputation labels, and incidents are copied only from labeled fields supplied by the caller, or from optional key-free public DNS / public TLS port-443 inspection when explicitly requested.","Private, loopback, link-local, and documentation addresses are never contacted. Private networks are not scanned.","No intrusive security testing is performed and no paid reputation API is used.","IP reputation uses only caller-supplied labels/observations. Missing reputation data is not invented.","Infrastructure health reports aggregate only sections for which records were supplied or optionally fetched."],"recordCount":2,"apiKeyRequired":false,"unhealthyCount":1,"paidProviderUsed":false,"publicDnsQueried":false,"publicTlsInspected":false,"paidReputationApiUsed":false,"privateNetworkScanned":false,"intrusiveScanPerformed":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fWhA49wkc0wTm1egwfz54","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Diagnoses DNS resolution issues by analyzing resolver logs, expected answers, and network data to identify mismatches, failures, and anomalies","exampleAgentPrompt":"Can you diagnose why api.example.com is resolving to 203.0.113.9 instead of the expected 198.51.100.9? Here are my resolver logs — check the A record and flag any mismatches or anomalies you find.","exampleUseCases":[{"title":"Detect DNS hijacking on production host","prompt":"I think one of our production hostnames is being hijacked — it's resolving to the wrong IP. Can you analyze these resolver logs for api.mycompany.com and check if the A record answer matches our expected IP of 198.51.100.50? Flag anything suspicious."},{"title":"Post-deployment DNS validation","prompt":"We just deployed a DNS change for www.myapp.com and the expected answer should now be 93.184.216.34. Can you go through these resolver logs and tell me if all resolvers are returning the correct answer, and highlight any that aren't?"},{"title":"Incident triage for DNS failures","prompt":"Our monitoring is showing DNS failures for several hosts. Here's a CSV of hostnames, their expected IPs, and what our resolvers are actually returning. Can you diagnose which ones are unhealthy and tell me what the specific issues are?"}],"resultDescription":"Returns a JSON object with per-hostname diagnosis items (health status, actual vs expected answer, record type, latency, issue codes like 'answer_mismatch'), aggregated findings with detail messages, counts of healthy and unhealthy records, timestamps, and flags indicating whether public DNS, TLS inspection, or paid reputation APIs were used. Each item includes whether the private network was scanned (never) and the data source.","failureModes":["Missing required hostname or DNS log data results in empty or incomplete diagnosis","Unexpected record types not covered by schema may be ignored","Truncated input (CSV/JSON over 200,000 chars) will be rejected","If no resolver logs or expected answers are supplied, diagnosis has limited basis","Public DNS lookup only performed if explicitly requested; otherwise analysis is limited to caller-supplied data","Misformatted log entries may be skipped without error"],"whenToPreferThis":"Use this endpoint when you need to diagnose DNS resolution correctness — especially when you have resolver logs, expected answers, and want to identify mismatches, failures, or anomalies across multiple hostnames. Prefer this over generic DNS lookup tools when you need structured health assessments, issue codes, and finding summaries rather than raw DNS query results. Ideal for post-deployment validation, incident triage, and security investigations into DNS hijacking or poisoning, paying only $0.03 USDC per call with no account required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T00:33:39.960Z","isFirstParty":false,"canonicalSlug":"brainiac-dns-resolution-diagnosis-8af8eeea"}