LogLevel

HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters

Data type Range Default value
REG_DWORD 0x0 | 0x1 | 0x10 | 0x20 | 0xFE| 0x100 | 0x200 | 0x1000 | 0x2000 | 0x4000 | 0x8000 | 0xFFFF | 0x10000 | 0x20000 | 0x1000000 | 0x80000000 0x0

Description

Determines which events the DNS server records in its transaction log, Dns.log.

LogLevel is a 32-bit binary value. To direct DNS to log a type of event, the DNS console sets the value of this entry to the value representing that event type, as listed below. To direct DNS to log more than one type of event, the DNS console sets the value of this entry to the sum of the values representing each event type you want to include in the log.

To get a complete log, set the value of this entry to 0x8100F331.

Value Meaning
0x0 None. The DNS Service does not create Dns.log.
0x1 Queries
0x10 Notifications
0x20 Updates
0xFE Non-query transactions
0x100 Questions
0x200 Answers
0x1000 Send packets
0x2000 Receive packets
0x4000 UDP packets
0x8000 TCP packets
0xFFFF All packets
0x10000 Active Directory write transaction
0x20000 Active Directory update transaction
0x1000000 Full packets
0x80000000 Write-through transactions

Change method

To change the value of this entry, use the DNS console. Right-click the server name, click Properties, click the Logging tab. This bitmask corresponds to the check boxes in the Debug logging options section. Do not change this value by editing the registry.

Activation method

DNS reads its registry entries only when it starts. You can change entries while the DNS server is running by using the DNS console. If you change entries by editing the registry, the changes are not effective until you restart the DNS server.

Related Entries

Page Image

Page Image

Page Image