Windows DNS server query and response logging

Posted by vortexisat@reddit | sysadmin | View on Reddit | 12 comments

I’m looking logging DNS queries and responses being processed be Windows DNS servers. It looks like there a three main options. Firstly debug logging, second packet capture and third DNS analytic logging using Event Tracing for Windows (ETW). AD team won’t allow debug logging on permanently as they had issues with disk I/O performance in the past and they won’t allow drivers like npcap for packet capture to be installed. ETW option looks good but it would see you need to parse dns messages yourself. Looking for what others have done and any gotchas/experience. Thanks