82trust / 100

Dns Lookup

by NetIntel in Developer tools

x402 APIPassing, checked 2 h ago

DNS lookup for any domain — resolve A, AAAA, MX, TXT, NS, CNAME, SOA and PTR records in one call, with SPF and DMARC parsed from TXT.

GET https://netintel.dev/dns/lookup

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
181 ms typical, 246 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 GET "https://netintel.dev/dns/lookup?domain=example.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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fnetintel.dev%2Fdns%2Flookup
const res = await pay("https://netintel.dev/dns/lookup?domain=example.com");
console.log(await res.json());

Example input

{
  "domain": "example.com"
}

Example output

{
  "domain": "example.com",
  "propagation": {
    "consistent": true,
    "resolvers": [
      {
        "A": [
          "93.184.216.34"
        ],
        "ip": "8.8.8.8",
        "resolver": "Google"
      },
      {
        "A": [
          "93.184.216.34"
        ],
        "ip": "1.1.1.1",
        "resolver": "Cloudflare"
      },
      {
        "A": [
          "93.184.216.34"
        ],
        "ip": "9.9.9.9",
        "resolver": "Quad9"
      }
    ]
  },
  "records": {
    "A": [
      "93.184.216.34"
    ],
    "AAAA": [
      "2606:2800:220:1:248:1893:25c8:1946"
    ],
    "CNAME": [],
    "MX": [
      {
        "exchange": "mail.example.com",
        "priority": 10
      }
    ],
    "NS": [
      "ns1.example.com",
      "ns2.example.com"
    ],
    "PTR": [],
    "SOA": {
      "expire": 604800,
      "minimum": 86400,
      "mname": "ns1.example.com",
      "refresh": 3600,
      "retry": 900,
      "rname": "admin.example.com",
      "serial": 2024010101
    },
    "TXT": [
      "v=spf1 include:_spf.google.com ~all"
    ]
  },
  "security": {
    "dkim": {
      "key_type": "rsa",
      "public_key": "MIIBIjAN...",
      "raw": "v=DKIM1; k=rsa; p=MIIBIjAN...",
      "version": "DKIM1"
    },
    "dmarc": {
      "pct": null,
      "policy": "reject",
      "raw": "v=DMARC1; p=reject; rua=mailto:[email protected]",
      "rua": "mailto:[email protected]",
      "ruf": null,
      "subdomain_policy": null,
      "version": "DMARC1"
    },
    "spf": {
      "all_qualifier": "~all",
      "mechanisms": [
        "include:_spf.google.com"
      ],
      "raw": "v=spf1 include:_spf.google.com ~all",
      "version": "spf1"
    }
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402246 ms$0.002
5 h agoPassed402327 ms$0.002
8 h agoPassed402181 ms$0.002
13 h agoPassed402176 ms$0.002