DNS lookup
dns_lookupLook up a hostname via Cloudflare DNS (A, AAAA, CNAME, MX, TXT, NS, CAA, SOA). type email_auth returns MX, SPF, DMARC, and the DNSSEC AD flag. Does not connect to the name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "dns_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Hostname. No scheme or path. | |
| type | No | A, AAAA, CNAME, MX, TXT, NS, CAA, SOA, or email_auth. Default A. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| name | No | ||
| type | No | ||
| rcode | No | ||
| answers | No | ||
| dnssec_ad | No |