Skip to main content
Glama

DNS Lookup API

[![[ MCP Server]бит]? Wait no. Let's output now.

Input has three badges. We'll copy them exactly.

Need be careful to copy the markdown image lines exactly. Yes.

Let's produce final answer# DNS Lookup API

MCP Server x402 License: MIT

通过 Cloudflare DNS-over-HTTPS 查询 DNS 记录(A、AAAA、MX、TXT、CNAME、NS、SOA、SRV)。快速可靠。通过 x402(Base L2 上的 USDC)按次付费——无需 API 密钥、无需注册、没有速率限制墙。

属于 klymax402 市场的一部分——100 个面向 AI 代理的 x402 微支付 API,一个钱包,USDC on Base。

快速开始 -- MCP

将其添加到您的 MCP 客户端配置中(Claude Desktop、Cursor、ElisaOS 等):

{
  "mcpServers": {
    "dns-lookup": {
      "url": "https://dns-lookup.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: Cloudflare DNS MCP Server

快速开始 -- HTP (x402)

curl -X POST "https://dns-lookup.api.klymax402.com/api/lookup" \
  -H "Content-Type: application/json" \
  -d '{"domain":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

任何兼容 x402 的客户端(@x402/fetchx402-agent-tools、ATXP)都会自动处理 402 -> sign -> retry 流程。

工具

工具

方法

路径

价格

描述

network_lookue_dns

POST

/api/lookup

$0.005

查询某个域名的 DNS 记录

network_lookup_dns

需要查询某个域名的 DNS 记录时使用此工具。它会通过 Cloudflare DNS-over-HTTPS 返回所有匹配的 JSON 记录。

参数

名称

类型

必填

描述

domain

string

要查询的域名(例如 example.com)

type

string

DNS 记录类型: A, AAAA, MX, TXT, CNAME, NS, SOA, SRV (默认: A)

示例响应:

{"domain":"example.com","type":"A","records":[{"name":"example.com","type":"A","data":"93.184.216.34","ttl":3600}],"queryTime":12,"resolver":"cloudflare"}

适用场景:验证 DNS 配置、设置邮件服务前检查 MX 记录、审计 SPF/DKIM/DMARC 的 TXT 记录,以及排查域名解析问题。

不适用于:SSL 证书检查(使用 security_check_ssl)、WHOIS 域名信息(使用 domain_lookup_intelligence)、HTTP 头部分析(使用 network_analyze_headers)。

示例代理提示词

  • “查询某个域名的 DNS 记录”

支付

  • 协议:x402 —— 基于 HTTP 的按次付费,无需注册,无需 API 密钥

  • 网络:Base L2 (eip155:8453)

  • 资产:USDC币

  • 协调方:Coinbase CDP(主要),PayAI(备用)

  • 也可通过 ATXP 访问(OAuth 包装的 x402,RFC 9728 受保护资源元数据)

属于 klymax402

100 个面向 AI 代理的x402 微支付 API —— 一个钱包,Base L2 上的USDC,零注册。

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Look up DNS information for any domain to troubleshoot issues and gather insights. Get fast, relia…

  • The web capability layer for AI agents: render, extract, DNS, SSL, WHOIS & more via x402.

  • Domain & company intel for AI agents: RDAP, DNS, email deliverability, tech stack. No API keys.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/dns-lookup-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server