I am looking to have a long-term packet capture running to monitor DNS requests on my machine. I generally use wireshark for network monitoring, but since I am only interested in DNS packets, and over the longer time period, I wonder if it is possible to log the network activity directly to disk and only to save packets based on a filter (dns && ip.src == MY.IP.ADDR.ESS
)
Does anyone know how I would achieve something like this?