10.5: Flush DNS cache Nov 05, '07 07:30:08AM. Contributed by: digitaltygrrr I primarily work with web servers, and I use lookupd -flushcache all of the time to clear my DNS cache. Things can also go awry when you upgrade your Mac with new hardware, add memory, install a new graphics card, or change startup volumes. All of these activities can write new data to the parameter RAM. Writing data to the parameter RAM isn't an issue in itself, but it can be a source of problems when you change multiple items on your Mac. Flush DNS Cache. Modern browsers, OS, and DNS clients store cache of IP addresses and other DNS information automatically. When a computer visits a website for the first time, it stores the website's DNS information in the cache, and on the next visit of the same website, it looks in the cache to see if the web site's information is present to use.
This means to communicate with any device on your network, you must have the Ethernet MAC address for that device. If the device is not on your LAN, you go through your default gateway (your router). In this case, your router will be the destination MAC address that your PC will communicate with.
Step 1. Open Terminal.app
Step 2. Insert this command to view whats in the cache
sudo arp -a
Step 3.a. Insert this command to delete only one interface in cache
sudo arp -d 192.168.3.1 ifscope en0
Step 3.b. Insert this command to delete whole cache
sudo arp -a -d
That is it your ARP cache is cleared