Use the Windows + R shortcut to open the Run window.
Type cmd to open Windows Command Prompt.
Type the following command and hit Enter:
ipconfig /flushdns
Windows will automatically clear your DNS cache files and reset the
DNS resolver cache. If the process is successful, you’ll see the
following confirmation message in your Command Prompt console:
Important! Run the cmd command by pressing Ctrl + Shift + Enter to use the Run as administrator option more quickly. Please note that you will need admin rights to do so.