dns 缓存windows_通过在Windows上重新加载DNS客户端缓存来解决浏览问题

dns 缓存windows

dns 缓存windows

Have you ever gotten DNS errors while trying to browse the web, but another computer on the same network is working just fine? There’s a good chance you need to clear the computer’s DNS cache to fix it.

尝试浏览Web时是否遇到DNS错误,但同一网络上的另一台计算机正常运行? 您很有可能需要清除计算机的DNS缓存以进行修复。

This fix may also be necessary after changing your DNS server, as it ensures your computer asks the DNS server for a website’s IP address rather than just using its already cached addresses.

更改DNS服务器后,也可能需要此修复程序,因为它可以确保您的计算机向DNS服务器询问网站的IP地址,而不仅仅是使用其已缓存的地址。

清除DNS缓存 (Clear the DNS Cache)

Open a Command Prompt window as Administrator. To do so, open the Start menu, type “Command Prompt” into the search box, right-click the Command Prompt shortcut in the results, and then select the “Run as Administrator” command.

以管理员身份打开命令提示符窗口。 为此,请打开“开始”菜单,在搜索框中键入“命令提示符”,右键单击结果中的“命令提示符”快捷方式,然后选择“以管理员身份运行”命令。

At the prompt, type the following command, and then press Enter:

在提示符下,键入以下命令,然后按Enter:

ipconfig /flushdns

This command works on all versions of Windows, including Windows 10, 8, 7, Vista, and XP.

此命令适用于所有版本的Windows,包括Windows 10、8、7,Vista和XP。

Running this command should usually fix whatever problem you have. However, some applications may have their own DNS cache you need to clear if you’re still experiencing problems. For example, Firefox has its own internal DNS cache, so you may want to close and reopen it—or even clear its browser settings—if you’re experiencing problems in Firefox.

运行此命令通常可以解决您遇到的任何问题。 但是,某些应用程序可能具有自己的DNS缓存,如果您仍然遇到问题,则需要清除。 例如,Firefox具有自己的内部DNS缓存,因此,如果您在Firefox中遇到问题,则可能要关闭并重新打开它-甚至清除其浏览器设置。

重新启动DNS服务 (Restart the DNS Service)

On older versions of Windows, you may also want to try restarting the DNS Client system service that handles the DNS caching. This isn’t possible on Windows 10 and 8, which prevents you from stopping and starting this service—you’ll just see an error message if you try. However, you can do this on Windows 7, Vista, and XP.

在较旧版本的Windows上,您可能还想尝试重新启动处理DNS缓存的DNS客户端系统服务。 在Windows 10和Windows 8上这是不可能的,这会阻止您停止和启动该服务-如果尝试,您只会看到一条错误消息。 但是,您可以在Windows 7,Vista和XP上执行此操作。

If you’re using an older version of Windows, you can do this right from the Administrator Command Prompt window you already have open. Just run the following commands in turn:

如果您使用的是Windows的较早版本,则可以从已打开的“管理员命令提示符”窗口中直接执行此操作。 只需依次运行以下命令:

net stop dnscache
net start dnscache

If you’re having problems and feel the need to restart this service on Windows 10, you can always try rebooting your computer. This restarts the DNS Client service and every other piece of software on your computer.

如果遇到问题,并且需要在Windows 10上重新启动此服务,则可以随时尝试重新启动计算机。 这将重新启动DNS客户端服务和计算机上的所有其他软件。

翻译自: https://www.howtogeek.com/343349/update-troubleshoot-browsing-issues-by-reloading-the-dns-client-cache-on-windows/

dns 缓存windows

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值