83trust / 100

Dns Lookup

by Otto AI in Email & messaging

x402 APIPassing, checked 3 h ago

Resolve any domain in one call: A/AAAA, MX, NS, CNAME, SOA and TXT records, plus parsed email-auth posture — SPF policy, DMARC policy, and detected DKIM selectors. A drop-in nslookup/dig replacement for agents, resolved over DNS-over-HTTPS (DoH) with redundant resolvers and automatic failover. Keyless, pay-per-call, structured JSON.

GET https://x402.ottoai.services/dns-lookup

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
71 ms typical, 71 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ottoai.services/dns-lookup?domain=github.com"
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ottoai.services%2Fdns-lookup
const res = await pay("https://x402.ottoai.services/dns-lookup?domain=github.com");
console.log(await res.json());

Example input

{
  "domain": "github.com"
}

Example output

{
  "data": {
    "domain": "github.com",
    "email": {
      "dkim": {
        "selectorsFound": [
          "google"
        ]
      },
      "dmarc": {
        "policy": "reject",
        "present": true,
        "record": "v=DMARC1; p=reject; rua=mailto:[email protected]"
      },
      "spf": {
        "policy": "softfail",
        "present": true,
        "record": "v=spf1 include:_spf.google.com ~all"
      }
    },
    "generatedAt": "2026-06-24T12:00:00.000Z",
    "records": {
      "a": [
        "140.82.121.3"
      ],
      "aaaa": [],
      "cname": [],
      "mx": [
        {
          "exchange": "aspmx.l.google.com",
          "priority": 1
        }
      ],
      "ns": [
        "dns1.p08.nsone.net",
        "ns-1283.awsdns-32.org"
      ],
      "soa": "dns1.p08.nsone.net. hostmaster.nsone.net. 1 7200 900 1209600 3600",
      "txt": [
        "v=spf1 ip4:192.30.252.0/22 include:_spf.google.com ~all"
      ]
    },
    "resolves": true
  },
  "meta": {
    "degraded": false,
    "generatedAt": "",
    "stalenessSec": 0,
    "validUntil": ""
  },
  "status": "success"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40271 ms$0.001