apple, arp, cache, network, osx clear or flush arp/dns cache in os x

--

To clear the address resolution protocol cache, simply enter the following command in the terminal.

sudo arp -a -d

To clear the domain name system cache, simply enter the following command in the terminal.

dscacheutil -flushcache