To flush the DNS on your mac, open a terminal and enter the following command:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Enter your password and the local DNS cache will be flushed.