Look up DNS records
dns_lookupLook up the DNS records of any domain or hostname on any extension, live, through Cloudflare's public resolver: A, AAAA, CNAME, MX, NS, TXT, CAA, SOA and more, or the reverse DNS (PTR) of an IP address. Returns the records with their TTLs and the hivex.si page that explains what they mean.
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 | A domain, hostname or IP address (e.g. 'example.com', '_dmarc.example.com', '8.8.8.8') | |
| type | No | Record type; PTR for an IP address | A |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The explained result on hivex.si | |
| name | Yes | ||
| type | Yes | ||
| status | Yes | NOERROR, NXDOMAIN (the name does not exist), SERVFAIL… | |
| records | Yes | ||
| dnssec_validated | No |