DNSQuerySniffer is a network sniffer that provides an overview of DNS queries sent on your system.
With this utility, you can view detailed information about each query, including hostname, port number, query ID, request type, request time, response time, duration, response code, number of records, and contents of the queries. DNS records returned.
All of this information can be conveniently exported to a variety of file types, including csv, tab-delimited, xml and html formats, or copied directly to the clipboard for further analysis in Excel or other spreadsheet applications.