Navigate to Applications > Utilities
Locate and open the Terminal App.
Enter the following command: sudo killall -HUP mDNSResponder
Press the Enter key.
Enter your macOS account password.
Your DNS should now be cleared.
Navigate to Applications > Utilities
Locate and open the Terminal App.
Enter the following command: sudo killall -HUP mDNSResponder
Press the Enter key.
Enter your macOS account password.
Your DNS should now be cleared.