What is DNS Cache and How To Flush it in Windows and Mac

SHARE:

Image result for dns cache
Sometimes it happens that while working on a PC you are unable to access certain websites, IP addresses or may face other internet related issues. The best way to solve all of these problems is by resetting or deleting the DNS cache.
By doing this the DNS is restored and the problems that you might be facing will also be gone. After this, you will be able to use the internet or access the website that may not be loading earlier. To flush DNS cache you can follow the given steps mentioned for both Windows and Mac.

What Is DNS Cache?

DNS cache is the storage of all the website domain names, their IP addresses and their records saved on the system. This cache can sometimes become obsolete as the server or IP addresses can change from time to time and in case you access any website from the records in DNS cache it may show DNS error. To resolve these problems you can either clear or flush the DNS cache to restore the website or internet connections.

Flush DNS Cache

Here you will find the steps and methods that you can use in order to delete, clear or reset the DNS cache by just using command prompt and commands.

Clear DNS Cache In Windows

You can check the DNS cache from the command prompt on Windows. Type ipconfig /displaydns and select hit enter. Then the command screen will show all the DNS that is present on the system and you can scroll through to see them.
view DNS cache

Now to delete or clear the DNS Cache:-
  1. Press Windows+R key to open the Run program. Now enter CMD on the run program and hit OK.
flush DNS windows
  1. Or press Windows+X key and from the menu select Command Prompt admin.
    clear DNS windows

  2. This will open the command prompt window from where we will flush all DNS cache. In the command prompt enter the given command i.e ipconfig /flushdns and hit enter on the keyboard.DNS cahce clear command prompt After you hit enter the command screen will show the message Windows IP configurations and after it, a message saying Successfully flushed the DNS Resolver Cache.
Once this message is displayed, it means your DNS resolver cache is flushed or cleared. This method will work on every version whether 7,8,8.1 or 10.

Clear DNS Cache In Chrome

In case the problems still persist after clearing the Windows DNS cache then try clearing DNS from your Chrome browser.
  1. Open your Chrome browser and in the URL enter chrome://net-internals/#dns and hit enter.clear DNS cache Chrome

  2. This will open the Host Resolver for DNS. Here you will see the option to Clear host cache. Click on it and it will clear DNS resolver cache for Chrome browser.

Reset And Flush DNS Cache In Mac

The command mentioned here is for macOS Sierra.
  1. Open Terminal.

  2. Now, type sudo killall -HUP mDNSResponder; sleep 2; echo macOS DNS Cache Reset and hit enter.Clear DNS Cache Mac


The command will be successfully executed and you should see – “macOS DNS Cache Reset”. This will reset DNS cache on macOS Sierra.

Wrapping Up

This was the simplest method to reset and flush DNS cache on Windows and macOS. In case you use Chrome browser and still have problems even after deleting the DNS for PC then you can go for the method to clear the DNS cache from Chrome browser and then open the same website again. In case of any queries feel free to comment below.

COMMENTS

BLOGGER

How You Feel About This Post
Name

5G,1,Abaya,10,Ahsan Khan,1,Aima Baig,2,Aiman khan,7,Alizeh Shah,4,Android,27,Apple,8,Apps,512,Ayesha Khan,1,Ayeza Khan,6,Bags,1,Bollywood,25,Breakfast,1,Bridal Dresses,1,Celebrities,700,Children Prints,7,Cookware,1,Dresses,242,Facebook,28,Fashion,316,Fawad Khan,3,Firefox,2,Food,18,Gadets,594,Gents Dress,12,Gmail,3,Google,17,Google Assistant,2,Google Duo,5,Google Gboard,5,Google Maps,7,Google Photos,5,Google Pixel,1,Google Play Store,3,Hair Styles,9,Health,68,Hijab,2,Hina Altaf,2,How To,128,HTC,2,Huawei,68,Humayun Saeed,1,Iman Aly,1,Infinix,5,Instagram,26,iOS,31,Iqra Aziz,4,Iqrar Ul Hassan,1,Kinza Hashmi,3,Komal Rizvi,2,Ladies Cloths,114,Laptops,1,Lenovo,6,LG,16,Mac,4,Mahira,5,Makeup,15,Mathira,2,Mawra Hocane,2,Maya Ali,4,Mehndi Styles,19,Mehwish Hayat,2,Meizu,9,Microsoft,2,Minal Khan,5,Mix topics,659,Mobilink,8,Momal Sheikh,2,Momina Mustahsen,2,Motorola,9,Music,16,Nadia Hussain,1,Neelam Muneer,1,Neelam Usaf,1,Netflix,3,Nida Yasir,4,Nimra Khan,2,Nokia,30,Nubia X,3,OnePlus,6,Oppo,23,Pixel,1,Realme,6,Reema Khan,3,Resham,1,Saba Qamar,5,Saboor Aly,4,Sadaf kanwal,4,Sajal Ali,6,Samsung,88,Sana Javed,1,Sanam Baloch,4,Sarah Khan,3,Shawls,3,Shoes,11,Showbiz,770,Sidra Batool,1,Skin Care,9,Skype,3,Snapchat,7,Sony,8,Sonya Hussain,2,SoundCloud,1,Sports,38,Syed Jibran,1,Tech,1296,Techno,2,Telegram,2,Telenor,4,TikTok,6,TV,3,TV Series,76,Twitter,12,Ufone,3,Urwa Hocane,4,Videos,134,Vivo,33,W,1,WhatsApp,48,Windows,31,Winter Collection,1,WordPress,1,Xiaomi,53,YouTube,14,Zara Noor,4,Zong,2,
ltr
item
Daily InfoTech: What is DNS Cache and How To Flush it in Windows and Mac
What is DNS Cache and How To Flush it in Windows and Mac
What is DNS Cache and How To Flush it in Windows and Mac
https://blog.superhosting.bg/wp-content/uploads/2017/12/en-dns-cache-01.png
Daily InfoTech
https://www.dailyinfotech.com/2019/01/what-is-dns-cache-and-how-to-flush-it.html
https://www.dailyinfotech.com/
https://www.dailyinfotech.com/
https://www.dailyinfotech.com/2019/01/what-is-dns-cache-and-how-to-flush-it.html
true
3600554654078239861
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy