Use the following Terminal command to reset the DNS cache:

sudo killall -HUP mDNSResponder