DNS Client (Dnscache) Service Defaults in Windows 7

The DNS Client service (dnscache) caches Domain Name System (DNS) names and registers the full computer name for your computer. If the service is stopped, DNS names will continue to be resolved. However, the results of DNS name queries will not be cached and the computer's name will not be registered. If the service is disabled, any services that explicitly depend on it will fail to start.

Default Settings

Startup type:Automatic
Display name:DNS Client
Service name:Dnscache
Service type:share
Error control:normal
Group:TDI
Object:NT AUTHORITY\NetworkService
Path:%SystemRoot%\system32\svchost.exe -k NetworkService
File:%SystemRoot%\System32\dnsrslvr.dll
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache
Privileges:
  • SeChangeNotifyPrivilege
  • SeCreateGlobalPrivilege

Default Behavior

DNS Client is a Win32 service. In Windows 7 it is starting automatically on the operating system startup. Then the DNS Client service is running as NT AUTHORITY\NetworkService in a shared process of svchost.exe. Other system components, such as drivers and services, may run in the same process. If DNS Client fails to start, Windows 7 attempts to write the failure details into Event Log. Then Windows 7 startup should proceed and the user should be notified that the Dnscache service is not running because of the error.

Dependencies

DNS Client is unable to start, if at least one of the following services is stopped or disabled:

Restore Default Startup Configuration for DNS Client

1. Select your Windows 7 edition and service pack, and then click Download.

2. Save the Win7_Dnscache_Service_Startup.cmd file to a local storage device.

3. Run the saved file as an administrator.

4. Restart the computer.

The Dnscache service is using the dnsrslvr.dll file that is located in the %WinDir%\System32 folder. If the file is changed, damaged or deleted, you can restore its original version from Windows 7 installation media.