
in the process of daily use of the Internet, many people have encountered the page loading failure after entering the URL, and the browser prompts that it cannot be accessed. Among them, DNS resolution failure is one of the most common incentives. This problem will not only affect total page browsing, but also cause online office, video conference, online shopping and other scenarios to fail to operate normally, bringing many inconveniences to work and life. This article will go from the basic row to the advanced repair, providing you with a complete set of step-by-step guides to help you quickly locate and solve the DNS resolution failure problem and restore a smooth network access experience.
encounter DNS resolution failure, do not rush to perform complex operations, start with the most basic network connection troubleshooting, many times the root of the problem is in these easily overlooked details.
1, check the device network connection status
first check the network icon of the device, whether it is the network logo in the lower right corner of the computer or the signal bar on the top of the mobile phone, to confirm whether it is connected. If it is a wired connection, check whether the network cable is plugged in tightly and whether the interface is loose or damaged; if it is a wireless connection, try to disconnect and reconnect to see if it can successfully connect to the network. In some cases, unstable network connection will directly cause DNS resolution failure.
2, test network connectivity
open the command prompt or end point of the computer, enter ping 8.8.8.8 for testing, which is Google's public DNS server address. If you can receive a normal reply, it means that there is no problem with network connectivity, and the root cause of DNS resolution failure is likely to be in DNS related settings; if there is no reply or prompt request timed out, it means that the network connection itself is faulty, and the network access problem needs to be solved first.
local DNS cache is the domain name resolution record stored by the device in order to speed up the access speed. Once the cache is damaged or expired, it is easy to cause DNS resolution failure. Cleaning the cache is one of the simple and effective repair methods.
1, Windows system cleaning DNS cache
press the Win + R key combination to open the run window, enter cmd and press Enter to open the command prompt, enter ipconfig /flushdns in the window and press Enter, and wait for the system prompt to successfully refresh the DNS resolution cache. After the operation is completed, you can try again to access the URL that could not be opened before to verify whether the DNS resolution failure problem is solved.
2, Mac system cleaning DNS cache
open the end point application in the startup desk and enter the corresponding command according to the system version. For example, Ventura and above can enter sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder, enter the password and press Enter to execute. After cleaning, restart the browser to test whether the network access returns to normal, so as to solve the DNS resolution failure problem.
if the default DNS server on the local network fails or responds slowly, it will also cause DNS resolution failure. At this time, replacing it with a reliable public DNS server is an effective solution.
1 Choose the right public DNS server
currently commonly used public DNS servers are Google's 8.8.8.8 and 8.8.4.4, domestic Alibaba Cloud DNS 223.5.5.5, 223.6.6.6, and Tencent's 119.29.29.29. These public DNS servers have high stability and fast resolution speed, which can effectively reduce the probability of DNS resolution failure.
2, manually set the DNS server address
Windows system can open the Network and Sharing Center, click Change Adapter Settings, right-click the currently used network select properties, find Internet Protocol version 4 double-click to open, select Use the following DNS server address, enter the selected public DNS address and confirm. Mac system is in the network options of the system settings, click the Advanced button to switch to the DNS tab, add a new DNS server address and remove the original address, and restart the network after the settings are completed to try to solve the DNS resolution failure problem.
If multiple devices have DNS resolution failure problems at the same time, the problem is likely to be on the router, and the relevant settings of the router need to be troubleshooted and adjusted.
1, restart the router to release the cache
find the power interface of the router, unplug the power cord and wait for 10 to 15 seconds before plugging it in again, and wait for the router to complete the restart and initialization. The long-term operation of the router will generate cache accumulation, which may lead to abnormal DNS resolution services. After restart, the cache is emptied. Many times the DNS resolution failure problem will be solved.
2, check the router DNS settings
open the browser and enter the administrative address of the router, usually 192.168.1.1 or 192.168.0.1, enter the administrator account and password to log in, and find the DNS settings option. If the router is set to automatically obtain DNS, you can try to manually change to the public DNS server address; if it is already manually set, check whether the address is incorrectly entered, save the settings and restart the router after confirming that it is correct, and verify whether the DNS resolution failure problem is solved.
sum up, the solution of DNS resolution failure needs to be checked step by step from basic to advanced, first confirm that the network connection is normal, then clean the local cache, replace the public DNS server, and finally check the router settings. Follow this set of steps, most DNS resolution failure problems can be solved quickly. When using the network daily, you can also clean the DNS cache regularly and choose a reliable public DNS server to reduce the probability of DNS resolution failure and maintain the smoothness of network access.