Flushing DNS is basically nothing but emptying the DNS cache. Flushing DNS cache on your MAC OSX is pretty easy. Just follow the below steps carefully to do so:
Firstly, start the application ‘terminal’.
Type the following command:
Press the Enter key. That’s it! Pretty simple isn’t it? DNS cache should now be cleared.