昨天看到袁哥微博,看到了这篇,今天测试了一下,记录下来:
The DNS Client service does not log by default. However, if a file named %systemroot%system32dnsrslvr.log is manually created, this file is used by the service to log debug information:
C:WINDOWSsystem32>echo "" > dnsrslvr.log
In Windows XP and Windows Server 2003, NTFS write permissions for the NETWORK SERVICE SID must be explictly given:
C:WINDOWSsystem32>cacls dnsrslvr.log /E /G "NETWORK SERVICE":W