DatabaseDirectory

HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters

Data type Range Default value
REG_SZ Directory path Systemroot\System32\Dns

Description

Specifies the directory that contains the DNS database.

By default, the DNS database is located in Systemroot\System32\Dns, but you can add this entry to the registry to change the default location. If you do, the DNS server loads from and writes new zone records to the new location. If you already have a DNS database in Systemroot\System32\Dns, you must move it to the new location manually. DNS will not move or maintain the original database.

Activation method

DNS reads its registry entries only when it starts. To make changes to this entry effective, restart DNS.

Note Image Note

BIND files must be located in the Systemroot\System32\Dns directory, regardless of the value of this entry.

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

Page Image

Page Image

Page Image