DNS Client (Dnscache) Service Defaults in Windows 10

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 -p
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 10 it is starting automatically when the operating system starts. Then the DNS Client service is running as NT AUTHORITY\NetworkService in a shared process of svchost.exe along with other services. If DNS Client fails to start, the failure details are being recorded into Event Log. Then Windows 10 will start up and notify the user that the Dnscache service has failed to start due to the error.

Dependencies

DNS Client cannot be started under any conditions, if the following services are disabled, deleted or working improperly:

While DNS Client is stopped, the Network Connectivity Assistant service cannot be launched.

Restore Default Startup Configuration for DNS Client

Before you begin doing this, make sure that all the services on which DNS Client depends are configured by default and function properly. See the list of dependencies above.

1. Run the Command Prompt as an administrator.

2. Copy the commands below, paste them into the command window and press ENTER:

sc config Dnscache start= auto
sc start Dnscache

3. Close the command window and 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 10 installation media.