How To Flush DNS On Windows 10


There are several reasons why you may need to flush your DNS in Windows 10, the most common one being that websites aren’t resolution correctly and it should be a problem along with your DNS cache holding an incorrect address.

"Flushing" is simply the method of emptying out the cache records.


Note :- We tested the method on Windows 10 however it should work fine on devices running Windows 8.1, 8, 7, vista or XP even Windows server 2012, 2008, 2000.


How To Flush DNS On Windows 10



Why Would I want to Flush My DNS Cache ?

One of the most reasons is that once websites update their ip addresses, there’s a delay between that and also the new ip address obtaining saved to your cache which implies there can be times once sites don’t work because your cache hasn’t yet adapted to the changes online. so if you discover a website not working, it’s a good idea to splash the cache, or rather flush the cache, however the other aquatic phrase sounds a bit better, and that I suppose you’ll agree.

Also, if you wish to cover your browsing habits online, it’s an honest plan to flush your DNS as a result of it stores the addresses to each website you visit. (That’s its entire purpose!) thus if you’ve any confidential or naughty secrets in your browsing history, read on.



How To Flush DNS On Windows 10


You can use the options command:

ipconfig /? :- Display this help message

ipconfig /all :- Display full configuration information.

ipconfig /release :- Release the IPv4 address for the specified adapter.

ipconfig /release6 :- Release the IPv6 address for the specified adapter.

ipconfig /renew :- Renew the IPv4 address for the specified adapter.

ipconfig /renew6 :- Renew the IPv6 address for the specified adapter.

ipconfig /flushdns :- Purges the DNS Resolver cache.

ipconfig /registerdns :- Refreshes all DHCP leases and re-registers DNS names

ipconfig /displaydns :- Display the contents of the DNS Resolver Cache.

ipconfig /showclassid :- Displays all the dhcp class IDs allowed for adapter.

ipconfig /setclassid :- Modifies the dhcp class id.

ipconfig /showclassid6 :- Displays all the IPv6 DHCP class IDs allowed for adapter.

ipconfig /setclassid6 :- Modifies the IPv6 DHCP class id.



To flush the DNS cache in Windows 10 :

Select the "Start" button, then type "cmd".


How To Flush DNS On Windows 10


Right-click "Command Prompt", then choose "Run as Administrator".


How To Flush DNS On Windows 10


Type ipconfig /flushdns then press "Enter".


How To Flush DNS On Windows 10


You should receive the following message.

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.



Display DNS Cache

If you wish to confirm if the DNS cache has been cleared, you can type the following command and hit Enter:

ipconfig /displaydns



How To Flush DNS On Windows 10


This will display the DNS cache entries if any.

  • Turn Off or Turn on DNS Cache
  • To turn off DNS caching for a particular session, type net stop dnscache and hit Enter.
  • To turn on DNS caching, type net start dnscache and hit Enter.
  • Of course, when you restart the computer, the DNC caching will, in any case, be turned on.

Disable DNS Caching

If, for a particular browsing session, you don’t want your PC to store the DNS info about the sites you visit, you can disable it. Press Ctrl + Shift + Escape to open the Task Manager, "More details" at the bottom left corner, then click the Services tab, right-click "Dnscache" and click "Stop."


How To Flush DNS On Windows 10





Thank you for reading this article. Do let me know for any queries in comment section below.




Sharing is caring

google
linkedin

About Author

Akash is a co-founder and an aspiring entrepreneur who keeps a close eye on open source, tech giants, and security. Get in touch with him by sending an email (akashchugh1994@gmail.com).


You may also like :-




Leave a Comment

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




Stay Connected

Popular Posts

Get Latest Stuff Through Email


Who Should Read TechTrick?

All the tricks and tips that TechTrick provides only for educational purpose. If you choose to use the information in TechTrick to break into computer systems maliciously and without authorization, you are on your own. Neither I (TechTrick Admin) nor anyone else associated with TechTrick shall be liable. We are not responsibe for any issues that caused due to informations provided here. So, Try yourself and see the results. You are not losing anything by trying... We are humans, Mistakes are quite natural. Here on TechTrick also have many mistakes..