DNS

Default location Windows 2003:

C:> %SystemRoot%\System32\Dns

Default location Windows 2008:

C:> %SystemRoot%\System32\Winevt\Logs\DNS Server.evtx

Default location of enhanced DNS Windows 2012 R2:

C:> %SystemRoot%\System32\Winevt\Logs\Microsoft Windows-DNSServer%4Analytical.etl

Ref. https://technet.microsoft.com/en us/library/cc940779.aspx

Enable DNS Logging:

C:> DNSCmd /config /logLevel 0x8100F331

Set log location:

C:> DNSCmd /config /LogFilePath

Set size of log file:

C:> DNSCmd /config /logfilemaxsize 0xffffffff

Last updated