El Capitan Flush DNS


How to Flush DNS Cache in OS X El Capitan?

Very quick, use the following command line through Terminal (/Applications/Utilities/) to Fresh DNS Cache in Mac OS X 10.11 El Capitan.

sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say flushed

During the process, the admin password may be requested.