How to Clear the Local DNS Cache in Mac OS?

You can flush your local DNS cache in Mac OS (up to El Capitan) from your Terminal by usinng followign steps

Go to Applications -> Utilities -> Terminal

Type the following command and press Enter:

dscacheutil -flushcache

After that type the second command and press Enter:

sudo killall -HUP mDNSResponder
nilanchala avtar

Nilanchala Panigrahy

A blogger, a bit of tech freak and a software developer. He is a thought leader in the fusion of design and mobile technologies. He is the author of Xamarin Mobile Application Development for Android Book (