Skip to main content
How to flush DNS on Windows

Learn how to flush DNS on Windows. Clearing the DNS cache can help resolve website access issues.

Updated over a month ago

Keep your internet browsing running smoothly with these tips.

  1. On the taskbar search, type "Command Prompt."

  2. Right click on Command Prompt and press "run as administrator."

  3. When asked whether to allow Command Prompt to make changes to your computer, select Yes.

  4. Open Command Prompt

  5. Type the command ipconfig /flushdns then press enter

    Screenshot: Windows command prompt with ipconfig / flushdns command

  6. Type the command ipconfig /registerdns then press enter

    Screenshot: Windows command prompt with ipconfig / registerdns command

  7. Type the command ipconfig /release then press enter

    Screenshot: Windows Command Prompt with ipcongif / release command

  8. Type the command ipconfig /renew then press enter

    Screenshot: Windows Command Prompt with ipconfig / renew command

  9. Type the command netsh winsock reset then press enter

    Screenshot: Windows command prompt with netsh winsock reset command

  10. Restart the computer

Did this answer your question?