You can clear your local DNS cache in Mac OS from your Terminal:
- Go to Applications -> Utilities -> Terminal
- Type the following command and press Enter:
dscacheutil -flushcache
- After that type the second command and press Enter:
sudo killall -HUP mDNSResponder