How to log all the DNS queries

dnslogs

How can I create logs of every DNS query that my computer makes along with the responses it gets?

Best Answer

You can have tcpdump log all port 53 UDP and TCP activity.

Related Question