Is there a way in .NET (for a WPF application running on XP, Vista, or Windows 7) to monitor/sniff DNS lookups that the application is making to local DNS?
For example, is there a log file for a windows local DNS cache somewhere?
(Background - parsing network packets doesn't seem to work as a DNS lookup may not have to be issued outside of the PC if it is already cached in the Windows DNS)