The Squad Blog
RELATED

Flushing DNS Cache in OSX

Phil Tapia

Phil Tapia  Apr. 29

0 0

In website and server testing you will need to sometimes clear your DNS cache. This is the local table of hostnames and corresponding IP addresses. As you use your machine, addresses & DNS lookups are cached to speed up seek/load times. This is often ok, but sometimes you may need to clear/flush your cache if something has changed or updated and you still have the old lookup value cached. To do this, open Terminal and at the prompt type the command: lookupd -flushcache

If its successful it won’t error and will return you to a prompt. To test, go to the address you thought was cached and see if the lookup discovers the new IP address. I bet it will!

 

Post A Comment

Sorry! Comments are closed.

Want to talk to us? Email us at info@madebysquad.com.