DNS Client (Dnscache) Service Defaults in Windows 11
The DNS Client service (dnscache) sends Domain Name System (DNS) queries, caches query results, and registers the computer's full name on the network. This service is not stoppable.
Default Settings
| Startup type: | Automatic |
| Display name: | DNS Client |
| Service name: | Dnscache |
| Service type: | own |
| 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: |
|
Default Behavior
DNS Client is a Win32 service. In Windows 11 it starts automatically during the operating system startup. Then the DNS Client service logs on as NT AUTHORITY\NetworkService and running in its own process of svchost.exe. If DNS Client fails to start, the failure details will be recorded into Event Log. Then Windows 11 should boot up and notify the user about the Dnscache service startup failure.
Dependencies
DNS Client cannot be started, if the following services won't start:
If DNS Client doesn't work properly, the following services will not start:
- Network Connectivity Assistant
- Remote Access Connection Manager
- WinHTTP Web Proxy Auto-Discovery Service
Restore Default Startup Configuration of 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 C:\Windows\System32 directory. If the file is removed or corrupted, read this article to restore its original version from Windows 11 installation media.