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 Domain Name System (DNS) server records in its transaction log, Dns.log.

This entry 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 that event type, as listed below. To direct DNS to log more than one type of event, the DNS console sets the value 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 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 (User Datagram Protocol) 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, and then click the Logging tab. This bitmask corresponds to the check boxes in the Debug logging options section. Do not change the value of this entry 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.

Note Image Note

Windows 2000 does not add this entry to the registry. You can add it by editing the registry or by using a program that edits the registry.

Related Entries

Page Image

EventLogLevel

Page Image

LogFilePath

Page Image

LogFileMaxSize