Skip to content
Fourohtwo

www.brainiac.software/api/v1/network-intelligence/dns-resolution-diagnose

Diagnose caller-supplied DNS answers against expected values, or optionally query key-free public DNS for a public hostname. Docs: https://www.brainiac.software/api/network-intelligence/dns-resolution-diagnose

BaseAnswering
POSThttps://www.brainiac.software/api/v1/network-intelligence/dns-resolution-diagnose

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://www.brainiac.software/api/v1/network-intelligence/dns-resolution-diagnose", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"asOf":"2026-11-04T21:00:00.000Z","dnsRecords":[{"answer":"93.184.216.34","expectedAnswer":"93.184.216.34","hostname":"www.example.com","id":"D1","latencyMs":12,"rcode":"NOERROR","recordType":"A","source":"Caller-supplied resolver log"},{"answer":"203.0.113.9","expectedAnswer":"198.51.100.9","hostname":"api.example.com","id":"D2","rcode":"NOERROR","recordType":"A","source":"Caller-supplied resolv),
});
console.log(await res.json());

Example input

{"asOf":"2026-11-04T21:00:00.000Z","dnsRecords":[{"answer":"93.184.216.34","expectedAnswer":"93.184.216.34","hostname":"www.example.com","id":"D1","latencyMs":12,"rcode":"NOERROR","recordType":"A","source":"Caller-supplied resolver log"},{"answer":"203.0.113.9","expectedAnswer":"198.51.100.9","hostname":"api.example.com","id":"D2","rcode":"NOERROR","recordType":"A","source":"Caller-supplied resolv