list_dns_lookups
Lists DNS lookups made by programs on Windows, showing which process resolved which name, with filters for PID and name and optional live tracing.
Instructions
Lists the DNS lookups programs made, on Windows. On Linux it always refuses, so do not call it there: each program looks names up through its own library, and nothing records who asked for what. list_connections shows where programs are connected, with the remote names, and get_network_usage how much they send.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Only lookups made by this process. | |
| limit | No | At most this many, the latest first (default 100, at most 1000). | |
| filter | No | Only names containing this (any case). | |
| trace_seconds | No | Seconds to watch first (0 to 30, default 0): lookups are seen while the network trace runs (the Network page open, or this). Needs "Turn kernel traces on". |