get_dns_analytics
Retrieve DNS query analytics for a Cloudflare zone, including query counts, response codes, and query type distributions to detect anomalies and attack patterns.
Instructions
Get DNS query analytics report for a Cloudflare zone. Returns query counts, response codes, and query type distributions. Useful for detecting DNS anomalies and attack patterns.
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": {
"zone_id": "<zone_id>"
},
"name": "get_dns_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Start date for the report in ISO 8601 format (e.g. 2026-05-01T00:00:00Z) | |
| until | No | End date for the report in ISO 8601 format | |
| zone_id | Yes | required,The ID of the zone |