DNS 解析查询
dns_lookup通过 DNS-over-HTTPS 查询域名解析记录(A/AAAA/CNAME/MX/TXT/NS),返回解析结果与 TTL。用于排查域名解析、验证 DNS 配置、查看 MX/TXT 记录。Example: {"domain":"example.com","type":"MX"}
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "MX",
"domain": "example.com"
},
"name": "dns_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | 记录类型 A/AAAA/CNAME/MX/TXT/NS,默认 A | A |
| domain | Yes | 域名,如 example.com、www.baidu.com |