SwitchHosts ://net-internals/#sockets ://net-internals/#sockets ://net-internals/#sockets ://net-internals/#sockets ://net-internals/#sockets
Click Close Idle Sockets and Flush Socket Pools
Click Clear Host cache
Method 2 On the terminal, run sudo killall -hup mDNSResponder to copy the DNS server and press Enter. Then Enter the administrator password. The DNS server is refreshed
Mac OS X 10.7 — 10.8: Sudo killall-hup mDNSResponder
Mac OS X 10.5-10.6: dscacheUtil-flushCache
Mac OS X 10.4:lookupd -flushcache