停用Dns cache

windows 自己的 dnscache ,我感觉是有问题的,因为经常导致电脑cpu 占用100%, 系统又慢又卡,真的没办法用。

 

 

 

 

https://docs.microsoft.com/en-us/windows-server/networking/dns/troubleshoot/disable-dns-client-side-caching

 

 

 

 

dns client在windows 10下面,要占用很多cpu,我们把它干掉,通过注册表来配置禁用该服务

 

 

警告:如果你使用windows 11, 10, 并且你想用WSL,你绝对不能禁止启动Dnscache, 你需要做的是,调整缓存时间,设置为1秒。

完全禁用,你的WSL就启动不了。它依赖Dnscache

 

You can Enable or Disable DNS Client Service in Windows 10 by changing the value of registry entries. But, keep in mind that if you do it incorrectly, your PC may get affected with a serious issue.

  • Click on Start menu icon and type regedit.
  • When the result comes up, hit Registry Editor option.
  • A UAC will prompt up, click on Yes for positive consent.
  • Once Registry Editor page comes into the view, navigate the following path from the left pane –

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache

  • Once you reach there, shift to the adjacent right side. Double click on the Start DWORD to modify its value.
  • In the Value data box, put preferred value followed by clicking OK button.

Automatic – 2

Manual – 3

Disabled – 4

Automatic (Delayed Start) – 2

分类: 默认 标签: 发布于: 2021-07-23 16:36:52, 更新于: 2021-10-14 14:55:47