How to disable Windows 10 DNS Cache services

c9080 / 2023-07-28 / 原文

Hi Adithya,

Disable DNS Client through registry:

Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache,
Locate the Start registry key and change its value from 2 (Automatic) to 4 (Disabled)

Disable DNS client through command line:

REG add "HKLM\SYSTEM\CurrentControlSet\services\Dnscache" /v Start /t REG_DWORD /d 4 /f

Bests,