DNS traffic analysis
pcap_dns_analyzeParses DNS over UDP/TCP in PCAP files, summarizes query counts, NXDOMAIN ratio, record types, and response sizes, and flags DNS-tunnelling or amplification signals.
Instructions
Parse DNS over UDP/TCP in pure JS: transaction ids, flags (QR/AA/RD/RA/rcode), question names and types, and answer A/AAAA records. Computes per-name query counts, NXDOMAIN ratio, query-type distribution, response-size distribution (a reflection/amplification indicator) and detects DNS-tunnelling signals (long or high-entropy labels, high query rates). Read-only, with defensive notes.
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": {
"pcapPath": "<pcapPath>"
},
"name": "pcap_dns_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | ||
| pcapPath | Yes | Path to the artifact, relative to the authorized workspace root. |