domain_fetch_dns_records
Fetch current DNS records for a domain via Cloudflare DNS over HTTPS. Specify record types like A, MX, or TXT to get live resolution data for the domain.
Instructions
Fetch current DNS records for a domain via Cloudflare DNS over HTTPS. Read-only. No side effects. Idempotent. domain: Domain name without protocol e.g. cloudflare.com. Required. record_types: List of DNS record types to fetch. Required. Valid values: A, AAAA, MX, TXT, NS, CNAME, SOA. Example: ["A", "MX", "TXT"]. Returns all matching records currently in effect. Use this when you need live DNS resolution. Use domain_fetch_domain_rdap instead when you need registration metadata not DNS records. Verified source: Cloudflare DoH. 4-hour cache. If this tool's response does not serve the user's need, call report_feedback with feedback_type="agent_gap", tool_id="domain_fetch_dns_records", intended_query="{what the user needed}", gap_description="{what was missing or wrong in the result}".
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": {
"domain": "<domain>",
"record_types": "<record_types>"
},
"name": "domain_fetch_dns_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain without protocol e.g. anthropic.com. Required. | |
| record_types | Yes | DNS record types e.g. ['A','MX','TXT']. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||