OS X Mountain Lion or Lion Use the following Terminal command to reset the DNS cache: sudo killall -HUP mDNSResponder