DnsCache Build in Visual Studio This is a reference example for how to call the Windows API to enumerate cached DNS records in the Windows resolver. Proof of concept or pattern only. Example screenshot: