SOC Prime
Where to Find Windows DNS Server Logs
Windows DNS Server logs to three places in Event Viewer, plus an optional text file: The core export is one line from an elevated prompt: wevtutil epl "Microsoft-Windows-DNSServer/Audit" C:\logs\dns_audit.evtx Almost everything on a network makes DNS queries, malware included. Query logs expose DNS tunneling, domain-generation algorithms and calls to known-bad domains.
Sources
- SOC Prime · 27-Oct-2026