That Flush DNS Cache turns to easy by using some command lines in Mac OS X 10.11 El Capitan through Terminal.
- Launch Terminal (found in /Applications/Utilities/), then enter the following command line.
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; say DNS cache flushed
- After hitting the Enter key, the admin password is required.
- Once you hear “DNS Cache flushed”, you get the job done successfully.
How are about the following command lines?
alias flushdns=‘dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say flushed’
sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder