DNS (Domain Name System) is your PC’s way of translating site names into IP addresses. Your Windows 11 PC or laptop stores DNS data locally to speed up Internet browsing.
One of the main reasons for flushing DNS cache is that when websites update their IP addresses, there is a cache between that IP address and the new IP address. This means that there may be times when sites won’t open because your cache hasn’t yet adapted to changes on the Internet. Therefore, if you find that the website is down, it is advised to clear the cache.
Also, if you want to hide your internet browsing history, it’s advised to flush the DNS because it stores addresses on every site you visit.
Ways to Flush DNS Cache on Windows 11
Method 1: Run PowerShell (Admin) or Windows Terminal (Admin) (Type Win + X combination) and execute the following command line.
-
Clear-DnsClientCache
Method 2: Press the Win + R key combination and enter
-
ipconfig /flushdns
Method 3: Launch Command Prompt and type
-
ipconfig /flushdns
How to view the current DNS cache in Windows 11
Press Win + X and launch PowerShell (Admin) or Windows Terminal (Admin).
-
ipconfig /displaydns