81trust / 100

Proxy Dns Lookup

by DNS Lookup in Developer tools

x402 APIPassing, checked 2 h ago

Resolve DNS records for any domain. Supports A, AAAA, MX, TXT, CNAME, NS. Returns records object with array per type. Default: A records only. Use to verify mail server setup (MX), check domain ownership (TXT), or debug DNS propagation.

POST https://agentsvc.io/api/v1/proxy/dns-lookup

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentsvc.io/api/v1/proxy/dns-lookup" \
  -H "content-type: application/json" \
  -d '{"domain":"github.com","types":["A","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%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fdns-lookup
const res = await pay("https://agentsvc.io/api/v1/proxy/dns-lookup", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"domain":"github.com","types":["A","MX"]}),
});
console.log(await res.json());

Example input

{
  "domain": "github.com",
  "types": [
    "A",
    "MX"
  ]
}

Example output

{
  "data": {
    "domain": "example.com",
    "records": {
      "A": [
        "93.184.216.34"
      ],
      "MX": [
        {
          "exchange": "mail.example.com",
          "priority": 10
        }
      ]
    },
    "resolved_at": "2026-04-07T12:00:00.000Z"
  },
  "success": true
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40231 ms$0.002
7 h agoPassed40238 ms$0.002