Flush DNS and Reset Connections Completely (Mac/PC)

Today in this guide you will learn how to flush DNS completely and how to reset connections both in Mac OS and Windows OS. So if you are looking to flush the DNS and reset the connections completely, then you are at the right place. In this guide, there are various methods using which you can flush DNS and reset connections completely. So in order to perform this task follow the steps given below.

Now, why you may need to flush DNS records? There can be several reasons why you want to do it. You may have reloaded a website several times unsuccessfully, and now the web browser doesn’t even try to reload the fresh connection but same error message that it used to show earlier.

You have changed DNS server address of your website and now when trying to load the new address your browsers redirects to the same old server. It happens because of the cache data in your browser or network.

When you flush DNS, a fresh connection will be initiated, and the browser will load fresh pages of any website or blog.

Note: At times only flushing the DNS won’t resolve the error. In such situation, you may have to change the DNS server address to solve the problem.

How to Flush DNS and Reset Connections in Windows

Step 1: At first, open command prompt on your PC. In order to open the command prompt, press Windows + R on your keyboard, and type cmd and press Enter.

Step 2: Now in command prompt, type the following:

ipconfig /flushdns and press Enter.

Step 3: Now type command ipconfig /release and press Enter.

Step 4: After that, type command ipconfig /renew and press Enter.

Step 5: Finally, type command netsh winsock reset  and press Enter.

Step 6: Once done, Reboot/Restart your computer.

Note: In some cases, you may need to open the command prompt as administrator. To do so in Windows 7, Go to Programmes, under Programmes go to Accessories, select command prompt, right click and select Run as Administrator.

For Windows 8/8.1/10, click Cortana/Search bar and type cmd and select Run as administrator.

That’s all you need to do. Just by following this steps you will be able to flush DNS and reset connections completely in your Windows PC.

Flush DNS and Reset Connections in Mac

Step 1: First of all, close down all the opened programs including web browsers.

Step 2: Now go to Applications.

Step 3: In Applications, Go to Utilities.

Step 4: In Utilities, Go to Terminals.

Step 5: Now under Terminal window, type

  • sudo discoveryutil mdnsflushcache for OS X 10.10 (Yosemite).
  • sudo killall -HUP mDNSResponder for OS X 10.7 – 10.9
  • sudo dscacheutil -flushcache for OS X 10.6 and older

Step 6: Now your DNS will be flushed, and connections will completely reset.

I hope by using any of these methods you will be able to flush DNS and reset connections completely and successfully. If you have any doubts or suggestions to let us know in the comments.

Leave a Reply

Your email address will not be published. Required fields are marked *