如何修复Dns查找失败

Dns is the heart of the internet. Without DNS we can not surf over websites easily. But some times Dns may not work properly. We should troubleshot the problem and solve it. In this tutorial we will look the steps we can take to solve this problem.

Dns是互联网的心脏。 没有DNS,我们将无法轻松浏览网站。 但是有时Dns可能无法正常工作。 我们应该对问题进行排查并解决。 在本教程中,我们将寻找解决该问题的步骤。

刷新Dns缓存 (Flush Dns Cache)

The first and most useful command to solve Dns problem is flushing the Dns data in the cache. During using Dns the retrivied data is saved in the Dns cache. Over time this will provide some misinformation which will led Dns lookup problems. We can easily solve this by removing cache data by flushing it. We will use ipconfig command for this operation. We need to get administrator privileges to issue this command.

解决Dns问题的第一个也是最有用的命令是刷新缓存中的Dns数据。 在使用Dns期间,检索到的数据将保存在Dns缓存中。 随着时间的流逝,这将提供一些错误信息,从而导致Dns查找问题。 我们可以通过刷新缓存数据来轻松解决此问题。 我们将使用ipconfig命令执行此操作。 我们需要获得管理员特权才能发出此命令。

> ipconfig /flushdns
Flush Dns Cache
Flush Dns Cache
刷新Dns缓存

更改Dns服务器地址(Change Dns Server Addresses)

There are a lot of Dns servers over the world. We can use most of them without problem. We can change our current Dns servers to the other popular and more reliable Dns servers. To get list of popular Dns servers look following tutorial.

世界上有很多Dns服务器。 我们可以毫无问题地使用它们中的大多数。 我们可以将当前的Dns服务器更改为其他流行且更可靠的Dns服务器。 要获取流行的Dns服务器列表,请查看以下教程。

Popular Free DNS Services Around The World

世界各地流行的免费DNS服务

重新启动网络堆栈(Restart Network Stack)

Windows network stack is not reliable as Linux network stack it may generally create problems related with IP, DNS etc. We can solve DNS problems by restarting network stack. This will remote all cache data and configuration and starts network service from scratch. Use following command with Administrator privileges in the MS-DOS

Windows网络堆栈不可靠,因为Linux网络堆栈通常可能会产生与IP,DNS等相关的问题。我们可以通过重新启动网络堆栈来解决DNS问题。 这将远程处理所有缓存数据和配置,并从头开始网络服务。 在MS-DOS中以管理员权限使用以下命令

> netsh winsock reset catalog
> netsh int ipv4 reset reset.log

清除缓存和Cookie (Clear Cache and Cookies)

Another useful way to solve DNS lookup files is clearing cache and cookies of the browser currently used. This will prevent old and mis configured cache data to be emptied.

解决DNS查找文件的另一种有用方法是清除当前使用的浏览器的缓存和cookie。 这将防止清空旧的和配置错误的缓存数据。

LEARN MORE  How To Add New Route In Ubuntu, Linux?
了解更多如何在Ubuntu,Linux中添加新路由?

翻译自: https://www.poftut.com/fix-dns-lookup-failed/

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值