# Flush or clear the DNS Resolver cache in Windows 10 and 11

In Windows 10 and 11, you may flush or clear the DNS Resolver cache to remove old or bad cache stored on your computer. This means completely removing all the information stored within the cache, and can help troubleshoot website connectivity issues.

#### Flush the DNS cache in Windows Command Prompt:

**1.** Press the **Windows Key** + **R** on your keyboard, this will open *Run* in Windows.

[![image.png](https://foundry.theopenroad.cloud/uploads/images/gallery/2026-10/scaled-1680-/pw6ItAYzB8LVGujb-image.png)](https://foundry.theopenroad.cloud/uploads/images/gallery/2026-10/pw6ItAYzB8LVGujb-image.png)

**2.** As shown in the image above, type `<span class="editor-theme-code">cmd</span>` into the textbox and press **Enter** on your keyboard.

[![image.png](https://foundry.theopenroad.cloud/uploads/images/gallery/2026-10/scaled-1680-/wuZ2vTlgaKXco21r-image.png)](https://foundry.theopenroad.cloud/uploads/images/gallery/2026-10/wuZ2vTlgaKXco21r-image.png)

**3.** Type `<span class="editor-theme-code">ipconfig /flushdns</span>` into Windows Command Prompt, and press **Enter**.

**4**. If the command above has been executed successfully with the appropriate permissions, you will receive a success response in the command terminal. The DNS Resolver cache has now been cleared.

**5.** To exit Windows Command Prompt, type `<span class="editor-theme-code">exit</span>` or click the **Red X** at the top right corner of the window.

<details id="bkmrk-about-this-articlewr"><summary>About this article</summary>

- Written by [Gary Phatt](https://foundry.theopenroad.cloud/user/gary-phatt), a TheOpenRoad Support employee.
- Still need help? Please write to us in the comment section below or [contact TheOpenRoad support](https://theopenro.ad/inquire).

---

![image.png](https://foundry.theopenroad.cloud/uploads/images/gallery/2026-10/scaled-1680-/Pb3qkbU7oacVfqRn-image.png)

#### **Please rate your experience with this article today:**

When you select a number, *1 being the lowest and 9 being the highest*; the page will refresh and your feedback will be submitted to TheOpenRoad.

## [**1**](https://foundry.theopenroad.cloud/books/microsoft-windows-1011/page/flush-or-clear-the-dns-resolver-cache-in-windows-10-and-11) [**2**](https://foundry.theopenroad.cloud/books/microsoft-windows-1011/page/flush-or-clear-the-dns-resolver-cache-in-windows-10-and-11) [**3**](https://foundry.theopenroad.cloud/books/microsoft-windows-1011/page/flush-or-clear-the-dns-resolver-cache-in-windows-10-and-11) [**4**](https://foundry.theopenroad.cloud/books/microsoft-windows-1011/page/flush-or-clear-the-dns-resolver-cache-in-windows-10-and-11) [**5**](https://foundry.theopenroad.cloud/books/microsoft-windows-1011/page/flush-or-clear-the-dns-resolver-cache-in-windows-10-and-11) [**6**](https://foundry.theopenroad.cloud/books/microsoft-windows-1011/page/flush-or-clear-the-dns-resolver-cache-in-windows-10-and-11) [**7**](https://foundry.theopenroad.cloud/books/microsoft-windows-1011/page/flush-or-clear-the-dns-resolver-cache-in-windows-10-and-11) [**8**](https://foundry.theopenroad.cloud/books/microsoft-windows-1011/page/flush-or-clear-the-dns-resolver-cache-in-windows-10-and-11) [**9**](https://foundry.theopenroad.cloud/books/microsoft-windows-1011/page/flush-or-clear-the-dns-resolver-cache-in-windows-10-and-11)

</details>