13.15. Enabling DNS Server Debug Logging
You want to enable DNS debug logging to troubleshoot issues related to DNS queries or updates.
Using a graphical user interface
From the Administrative Tools, open the DNS snap-in (dnsmgmt.msc).
Connect to the DNS Server you want to modify. In the left pane, right-click on DNS and select Connect to DNS Server. Select The following computer and enter the target server name. Click OK.
Right-click on the server and select Properties.
Click on the Debug Logging tab (or the Logging tab for Windows 2000).
Select what you want to log and the location of the log file (the log file location is hardcoded to %systemroot%\system32\dns\dns.log on Windows 2000).
Using a command-line interface
Use the following four commands to enable debug logging. For the log level add together the event codes you want logged and specify the result in hex. The available event codes are listed in Table 13-2.
Table 13-2. DNS debug logging event codes
No logging. (This is the default)
AD write transactions
AD update transactions