A Quick Tip To Change The Location File Based DNS Database

by [Published on 24 Feb. 2011 / Last Updated on 9 Jan. 2010]

This article explains how you can change the location of DNS Database of file based DNS Servers.

By default Windows DNS Servers storing File Based Zones look for database at the \Windows\System32\DNS Directory. This folder stores the data for the file-based DNS Zones. You might need to change this location for performance reasons. You need to use a registry heck to do so, as mentioned below:

  • KEY Name: HKLM\System\CurrentControlSet\Services\DNS\Parameters
  • Entry Name: DatabaseDirectory
  • Type: REG_SZ
  • Value: %SystemRoot%\System32\DNS

The default value of regitsry entry is \Windows\System32\DNS.

 

See Also


The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP and was awarded the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to PowerShell-based Dynamic Packs for www.ITDynamicPacks.Net solutions.

Featured Links