How to empty the DNS cache in Windows 10 to improve the performance of your internet connection
We depend on the Internet more than ever, both for teleworking and for our leisure, shopping or information. Is there a way to improve performance?
Maybe after a while of using your PCHave you noticed that Internet is slower than normal. Web pages take a couple of seconds to load and video call connections slow down. It’s time to flush the Windows 10 DNS cache.
In this cache Windows 10 stores the DNS addresses and domain names that you use the most, so that when you return to your most used websites or services, Windows does not have to go to the DNS servers to find the location, and the pages load faster .
The problem is that this DNS cache sometimes gets corrupted, or contains outdated information. Then it produces the opposite effect, slowing down the Internet, as explained to us TechRepublic: Windows 10 looks for the information in the DNS cache, discovers that it is corrupted, and goes to look for it to the DNS server, wasting valuable time. The solution is flush the Windows 10 DNS cache, to remove the corrupted data.
To carry out this process you have to execute a series of commands in the Windows 10 console. But you do not have to use the Command Prompt as on other occasions, but Windows Powershell.
So we go to the Windows search engine in the lower left corner of the desktop and we type PowerShell. We start it up with the option Execute as an administrator.
Now in the place where the cursor is, we write: ipconfig /flushdns
If the console shows us a success message, we will have successfully flushed the DNS cache:
Since we are here we are going to perform two new maintenance tasks that will improve Internet performance.
In the same window, we now write: ipconfig /renew
This command reconfigures the IP address of the computer with respect to the router.
Finally, we type this command: netsh winsock reset
With this we renew the Winsock connection protocols of Window 10, which sometimes change when Windows is updated. This action requires restarting the computer.
At first you may notice that the loading of web pages is a little slower, but it is normal because We have emptied the DNS cache, and Windows 10 has to re-fill it with the services we use the most. After visiting them a few times, the cache will work with optimal performance, and we will see how the Internet connection improves.
It is worth doing this operation every two or three months, to ensure optimal online performance of our PC. It barely takes a minute and the results are worth it.