analyze_dns
Analyze DNS traffic from PCAP files to uncover query patterns, response times, and error rates. Extract per-query details and summarize top queried domains and NXDOMAIN failures.
Instructions
Deep analysis of DNS traffic: query patterns, response times, error rates.
Extracts per-query details including query name, response code, and response time, then summarises top queried domains and NXDOMAIN failures.
Args: file_path: Path to the PCAP file display_filter: Optional extra display filter (applied in addition to dns) top_n: Number of top domains to show in summary (default: 30)
Returns: DNS summary with top queried domains, NXDOMAIN list, and response stats
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": {
"file_path": "<file_path>"
},
"name": "analyze_dns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| file_path | Yes | ||
| display_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |