To clear DNS cache on mac, use the Terminal application:
Run terminal. app using your preferred method. ...
Type in
sudo killall -HUP mDNSResponder
and hit Return on your keyboard.
Enter the administrator password for the account in question and hit Return.
😀