66trust / 100

Dns

by Aayat AI in Developer tools

x402 APIFailing, checked 40 min ago

Look up DNS records for any domain: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS, or ALL common types at once. Pass ?name=example.com&type=MX. An IP address with type=PTR does a reverse lookup. Uses DNS-over-HTTPS (Cloudflare 1.1.1.1) and reports DNSSEC validation and NXDOMAIN.

GET https://aayatai.com/dns

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
50.0%
Response time
49 ms typical, 49 ms slowest 5%
Last check
40 min ago: Expected HTTP 402, got 410
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/dns?name=example.com&type=MX"
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%2Faayatai.com%2Fdns
const res = await pay("https://aayatai.com/dns?name=example.com&type=MX");
console.log(await res.json());

Example input

{
  "name": "example.com",
  "type": "MX"
}

Example output

{
  "dnssecValidated": true,
  "name": "example.com",
  "records": [
    {
      "data": "0 .",
      "name": "example.com",
      "ttl": 86400,
      "type": "MX"
    }
  ],
  "status": "NOERROR",
  "type": "MX"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
40 min agoExpected HTTP 402, got 41041043 ms-
6 h agoPassed40249 ms$0.001