Is the internet not working on your PC, and are you looking for a way to reset it? then you are in the right place, below we have mentioned the best ways to reset the internet connection and flush the DNS cache.

It is frustrating when you are in the middle of some important work and your internet starts facing connectivity issues on Windows. In this situation, everyone wants to solve the problem quickly, but they don’t know how to do so.

Today you will learn here the best ways to solve this problem. We have discussed in detail about DNS and how to reset an internet connection on Windows 11/10. Make sure you read this article correctly so that you can quickly solve this issue.

What Is DNS Cache?

DNS (Domain Name System) cache is basically a record of the sites we have used in our browser. Let’s suppose you type in Then your browser sends a request to DNS to verify your URL’s IP address. If it is correct, your browser will load the website on your Windows.

Once your browser has successfully loaded a website, your browser does not need to repeat the DNS process the second time you access that website.

It will store a record of visited websites so that your browser does not need to send a request to the DNS server again. So, whenever you access that website again, it will load the website faster.

Why Flush the DNS cache?

As we discussed above, DNS caching can help speed up website access, but sometimes it might not show you the latest updates for a particular site, or the cache might get corrupted after a certain amount of time.

If a site changes its domain name, it can cause network connectivity issues if the DNS cache still contains the old information. Flushing the DNS cache is necessary if you ever face network connectivity issues.

How to Flush the DNS Cache on Windows

There are several ways to flush the DNS cache on Windows. We have mentioned all the best methods with step-by-step guidance. Make sure you try these methods properly.

1. Using the Run Command Box

This is the best and easiest way to clear the DNS cache from Windows. To do this follow the steps given below.

  1. Press the Windows + R button and type ipconfig /flushdns then press CTRL + SHIFT + ENTER buttons. type ipconfig flushdns on run box
  2. It will automatically run the command and flush DNS.

If you are not satisfied with this as it runs so fast that you cannot see the process, you can try our next method for the same.

2. Using CMD

This is a useful and very common method that is used by almost everyone. Let us see how we can do this.

  1. Press the Windows button and type CMD then right-click on the Command Prompt option and select Run as command prompt option
  2. Type the command ipconfig /flushdns on the command prompt window and hit Enter.
    Type the command ipconfig flushdns
  3. You will see the message Successfully flushed the DNS resolver cache.
    You will see the message Successfully flushed the DNS resolver cache

How to Flush Your Browser’s DNS Records

If you are facing connectivity issues on the browser while searching then flushing the DNS cache of the browser will work safely for you.

  1. Open the browser you use and type about://net-internals/#dns in the search bar, and press Enter. Only Mozilla Firefox users would type about:networking#dns.type about net-internals dns in the search bar
  2. Click on the Clear Host Cache button and you are done.
    Click on the Clear Host Cache button

Other Ways to Reset an Internet Connection 

If you have successfully flushed the DNS cache from your Windows and browser but are still experiencing the same connectivity issues, try the following methods.

1. Restarting Your Router/Modem

Sometimes, our router may not work properly and requires a refresh of the DHCP configuration. Follow the steps to do it properly.

  1. Power off the router by unplugging the power cable and waiting for at least 30 seconds to 1 minute.
  2. Now reconnect the power cable to the router and wait for the internet connection to start.

2. Reset TCP/IP Stack

Resetting the TCP(Transmission Control Protocol)/IP(Internet Protocol) stack may also resolve this Internet connectivity issue. Let us see how we can do this.

  1. Press Windows + X and click on Command Promote(Admin).
  2. Type ipconfig /flushdns command and hit enter. Then type ipconfig /registerdns command to re-register the DNS records of the computer and press enter again.
    type command to re-register or refresh the DNS records
  3. Now use these commands ipconfig /release’, ‘ipconfig /renew’ one by one to reset and renew the IP configuration.
    use these commands to reset and renew the IP configuration
  4. lastly, Use these commands ‘netsh winsock reset’, ‘netsh int ip reset to reset the Winsock Catalog and TCP/IP stack on a Windows computer.
    Use these commands to reset the Winsock Catalog
  5. Restart your PC and enjoy the internet without any connectivity issues.

Last Words

Hope you have resolved the internet connectivity issue. If you are still facing an issue then make sure that you are doing all the steps properly and using the correct command. If you are still facing issues, do comment below. We will surely try to solve your problem as soon as possible.


Please enter your comment!
Please enter your name here