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


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.



How You Feel About This Post

Like Our Content ? Enter Your Email and Get Daily Dose of Infotainment Stories


5G,1,Abaya,13,Adobe,2,Ahsan Khan,3,Aima Baig,4,Aiman khan,16,Alizeh Shah,7,Android,45,Apple,15,Apps,700,Ayesha Khan,1,Ayesha Umer,2,Ayeza Khan,21,Bags,1,Bollywood,79,Breakfast,1,Bridal Dresses,11,Celebrities,1125,Children Prints,8,Cookware,1,Dresses,343,Facebook,53,Fashion,429,Fawad Khan,4,Firefox,4,Fiza Ali,1,Food,29,Gadets iPhone,7,Gadgets,893,Gents,1,Gents Dress,25,Gmail,9,Google,66,Google Assistant,8,Google Duo,8,Google Gboard,7,Google Maps,18,Google Photos,7,Google Pixel,2,Google Play Store,3,Hair Styles,12,Hania Amir,8,Hareem Farooq,3,Health,82,Hera Mani,5,Hijab,3,Hina Altaf,3,Hollywood,8,How To,285,HTC,5,Huawei,143,Humayun Saeed,1,Iman Aly,1,Infinix,12,Instagram,50,iOS,60,Iqra Aziz,16,Iqrar Ul Hassan,11,Kinza Hashmi,6,Komal Rizvi,2,Ladies Cloths,189,Laptops,1,Lenovo,12,LG,23,Mac,5,Mahira,16,Makeup,15,Mathira,2,Mawra Hocane,6,Maya Ali,11,Mehndi Styles,25,Mehwish Hayat,12,Meizu,19,Microsoft,5,Minal Khan,14,Mix topics,905,Mobilink,14,Momal Sheikh,3,Momina Mustahsen,2,Motorola,19,Music,35,Nadia Hussain,1,Neelam Muneer,4,Neelam Usaf,1,Netflix,3,Nida Yasir,8,Nimra Khan,6,Nokia,42,Nubia X,6,Office,1,OnePlus,14,Oppo,58,Pak Army,1,Pixel,1,PTCL,2,Qmobile,2,Realme,19,Reema Khan,7,Resham,1,Saba Qamar,10,Saboor Aly,5,Sadaf kanwal,5,Sajal Ali,14,Samsung,155,Sana Fakhar,1,Sana Javed,1,Sanam Baloch,4,Sanam Jung,2,Sania Mirza,1,Sarah Khan,4,Shawls,3,Shoes,12,Showbiz,1262,Sidra Batool,1,Skin Care,9,Skype,6,Snapchat,12,Sony,9,Sonya Hussain,2,SoundCloud,1,Sports,64,Startups,2,Summer Outfits,50,Syed Jibran,3,Tech,1808,Techno,8,Telegram,4,Telenor,10,TikTok,7,TV,4,TV Series,146,Twitter,19,Uber,1,Ufone,3,Urwa Hocane,7,Videos,140,Vivo,56,W,1,WhatsApp,75,Windows,86,Winter Collection,1,WordPress,1,Xiaomi,96,YouTube,22,Zara Noor,12,Zenfone,2,Zong,3,
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
Daily InfoTech
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