How To Flush DNS Cache?

How To Flush DNS Cache?

how to flus dns cache

If you are using computer daily, you might have flushed DNS Cache many times. Most of the guys and support engineers tell you to clear cache when you have some issue on your computer like Internet connection is not working, slow processing speed, slow loading sites etc. When you flush DNS Cache such issues get fixed automatically.

But what is DNS Cache? And how we can flush it? So lets talk more about it in detail.

 

What is DNS Cache?

A DNS Cache is temporary storage on your computer which is operated and managed by Operating System. This database has records of all recently visited websites and attempted visits to websites. This record generally contains the Domain Names along with their corresponding IP addresses.

Internet fully relies on DNS i.e. Domain Name System. DNS has to maintain an index of all the websites on the internet and their corresponding IP addresses. It’s much similar to your personal phone book in which you write numbers along with the names.

Every website on the Internet has an IP address but remembering those numbers is impossible for all of us, that is where Domain Name System (DNS) comes into use. It assigns alphanumeric names to the IP addresses which are easy to remember.

When you type www.tecgyani.in in your browser’s address bar and hit enter. Then the browser ask router for IP address of that site. The router has DNS address stored, so it asks DNS server for the IP address. Once it finds the IP address of site you have requested, you get the site opened in your browser. Every time you request for websites in your browser, the same process repeats. Site cannot open until its IP address is located by the DNS server.

This process takes a few moments. To speed up this process DNS cache comes into the picture. It keeps record of all the websites you have opened and it stores records as website name and its IP address along with other details. When you open same website again, computer checks the DNS Cache before sending request to the internet for finding IP address of the website. So there are copies in the DNS Cache hence site loads quickly.

Now you might think that DNS Cache is very useful then why people flush DNS Cache all the time?

See, when you browse every day, the DNS Cache filled up and covers a lot of space on your computer. Sometimes DNS cache gets corrupted, due to that you face number of issues on your computer. That’s why flushing the DNS Cache is necessary. It fixes various problems of your computer and save your storage space.

 

How To Flush DNS Cache on Windows 10?

So here are few steps by using them you flush DNS Cache on your computer.

Step 1 – Go to the search bar and type “Command Prompt”. You will see Command Prompt there, right click on it  and “Run as Administrator”.

Command Prompt window will be open your computer.

 

Step 2 – type there ipconfig/flushdns or ipconfig /flushdns and hit enter. Both commands work the same.

 

flush dns cache

 

That’s it. Your DNS Cache is flushed. You get message as Successfully flushed the DNS Resolver Cache.

So this is how you can flush DNS cache on your computer or laptop. It is very easy to perform as you can see.

Conclusion

Flushing DNS Cache looks small thing, but it can fix many issues on your computer. You don’t have to look for support engineer to resolve this problem. Just bookmark this post or copy paste code in your notepad and use them when needed. Just by clearing the DNS Cache, I’ve fixed many issues on my laptop.

If you have any issues or queries about anything, do ask in the comments. I would love to write about it.

 

shubham sawant

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.