To clear your DNS cache if you use MacOS X version 10.10, perform the following steps:
- Click Applications.
- Click Utilities.
- Click Terminal.
-
Run the following command:
sudo
discoveryutil mdnsflushcache
If the command succeeds, the system does not return any output.
Warning:
To run this command, you must know the computer's Admin account password.