How To Clear DNS Cache In Mac OSX & Speed up the browsing
Since last few days i have been facing the issues with the DNS lookups of few websites and have been using the Mac since last one week without any restart.
My Problem is: Websites are getting too much time in resolving DNS, ie taking too much time in opening. For example: Facebook.com is working fine but gmail is having trouble & delay.
After searching for a minute, I have discovered that this is the issue with the DNS so i have switched to open DNS ( Google: 22.214.171.124 & 126.96.36.199). This resolved my issue for a while but after few hours, i have started facing the similar slow connection issues though my internet connection have the 8MBps connectivity so i have switched the DNS to 188.8.131.52 & 184.108.40.206. Alas, it doesn’t completely resolved my issue so i have looked further and interrelate the problem with cache.
How To Clear DNS Cache In Mac OSX
To clear the Mac OSX DNS cache you can simply use a Terminal for flushcache with below command:
Step1: Open the Terminal Window
Use this Command to flushcache
Note: If you face the DNS issues then first try with OpenDNS & then with flushcache, In most of the cases it will resolve your issues.