80trust / 100

Domain Dns

by AllTheBot DNS lookup in Developer tools

x402 APIPassing, checked 13 min ago

DNS lookup API: A, AAAA, MX, TXT, NS, CNAME and CAA records of any domain in one call, with TTL and DNSSEC validation, via public DNS-over-HTTPS. Domain and network recon for agents.

GET https://api.zkrobotics.fr/x402/domain/dns

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
96 ms typical, 96 ms slowest 5%
Last check
13 min ago
Next check
in 18 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.zkrobotics.fr/x402/domain/dns?domain=coinbase.com&type=A%2CMX"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.zkrobotics.fr%2Fx402%2Fdomain%2Fdns
const res = await pay("https://api.zkrobotics.fr/x402/domain/dns?domain=coinbase.com&type=A%2CMX");
console.log(await res.json());

Example input

{
  "domain": "coinbase.com",
  "type": "A,MX"
}

Example output

{
  "dnssec_validated": false,
  "domain": "coinbase.com",
  "exists": true,
  "records": {
    "A": [
      {
        "ttl": 135,
        "value": "172.64.152.241"
      },
      {
        "ttl": 135,
        "value": "104.18.35.15"
      }
    ],
    "MX": [
      {
        "host": "aspmx.l.google.com",
        "priority": 1,
        "ttl": 300
      },
      {
        "host": "alt1.aspmx.l.google.com",
        "priority": 5,
        "ttl": 300
      }
    ]
  },
  "source": "Cloudflare public DNS-over-HTTPS (1.1.1.1)"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
13 min agoPassed402158 ms$0.002
4 h agoPassed40259 ms$0.002
9 h agoPassed40296 ms$0.002