
when you open the browser and enter the URL but it shows that you cannot access it, or the prompt of frequent page loading failure occurs, the probability is that you have encountered DNS errors. This kind of network failure seems complicated, but in fact there is a clear troubleshooting and solution path, and it can be operated without professional technical background. This article will help you quickly get rid of the network access dilemma and restore a smooth Internet experience from DNS error identification, positioning, repair to prevention.
to solve DNS errors, we must first identify it accurately to avoid confusion with other network failures. There are differences in DNS errors in different scenarios, and we can judge from common prompts and phenomena.
1, browser class DNS error prompt
when the browser cannot resolve the domain name, it will directly give relevant prompts, such as the common "cannot resolve the DNS address of the server" "DNS_PROBE_FINISHED_NXDOMAIN", etc. This kind of prompt directly points to the DNS error, which can basically rule out the problem of the network connection itself.
2, system class DNS error phenomenon
some cases, there will be no clear prompt, but there will be specific phenomena, such as the normal use of QQ and other instant message tools, but can not open any web page; or under the same network, some devices can access the Internet, some devices frequently appear page loading failure, these are typical indirect performance of DNS error.
determine the DNS error, the next step is to find the root cause of the problem in order to fix it. The causes of DNS errors are mainly divided into local settings, router configuration and remote servers. We can check them one by one through simple tests.
1, test the local DNS resolution function
press Win + R to open the running window, enter cmd to open the command prompt, enter "nslookup Baidu .com", if the server can not be found to return the prompt, indicating that the local DNS resolution function is abnormal, most likely the local DNS setting error; if the normal return to the Internet Protocol Address, indicating that the local resolution function is normal, the problem may be in the router or remote DNS server.
2, troubleshoot router DNS configuration problems
if multiple devices under the same network have DNS errors, you can log in to the router management background to check whether the DNS server address is correct. If the address is empty or filled in an invalid address, it will cause DNS errors to occur in the entire network equipment; in addition, abnormal router firmware may also cause DNS resolution failure, you can try to restart the router and then test.
most DNS errors can be resolved by adjusting the local settings, which is the easiest way for ordinary users to repair, mainly divided into two methods: resetting the DNS cache and changing the DNS server address.
1 Reset the local DNS cache
when the local DNS cache is corrupted or expired, DNS errors will be raised. Open the command prompt, enter "ipconfig /flushdns" and "ipconfig /registerdns" in turn, and restart the browser after execution to empty and re-register the DNS cache. Many mild DNS errors can be solved by this method.
2, manually change the DNS server address
if the default DNS server is unstable or malfunctioning, it can also cause DNS errors. You can manually replace it with a public DNS server, such as a domestic 114.114.114.114, Alibaba Cloud 223.5.5.5, or a foreign 8.8.8.8. Restart the network adapter after replacement, and then test the web access. In most cases, DNS errors can be quickly fixed.
for some complex DNS errors that occur repeatedly, local settings alone may not be able to solve them. At this time, you can use professional tools to investigate in depth and find the core cause of the problem.
1, use the dig tool to detect DNS resolution chain
dig is a professional DNS query tool, Windows system can be obtained by installing the BIND toolkit, enter "dig target domain name", it will return from the root server to the authority of the complete chain of resolution, by looking at the return information in the BigInt, can accurately locate which link is the DNS error, such as authority server failure, domain name record failure and so on.
2, with the help of online DNS detection platform
if you don't want to install tools, you can also use online DNS detection platform, such as DNS Checker, enter the target domain name, the platform will simultaneously detect DNS resolution from multiple nodes around the world, can quickly determine whether it is a local DNS error, or a global domain name resolution failure, to provide direction for subsequent repair.
To sum up, DNS errors are common network failures, and there is a clear operation path from identification to repair: first identify DNS errors through browser prompts and network phenomena, and then test alignment through the command root cause of the problem, and then fix most DNS errors by resetting the cache, replacing the server and other local operations. Complex situations can be investigated in depth with the help of professional tools. As long as you follow the steps one by one, ordinary users can easily solve network access failures. At the same time, you should also pay attention to regularly cleaning the DNS cache, choose a stable public DNS server, and reduce the probability of DNS errors.