# How to Flush DNS

Command Prompt and Windows Powershell, which is a new addition to Windows, can be used to clear DNS cache.

**Option 1 – Command Prompt**

To reset the DNS resolver cache, perform the following steps:

1. Click the `Start` button, then type `cmd`
2. Right-click `Command Prompt`, then choose `Run as Administrator`.
3. Type `ipconfig /flushdns` then press `Enter`. (be sure there is a space before the slash)

A command box will flash on the screen for a split second, and the DNS Resolver cache is cleared

![](https://gblobscdn.gitbook.com/assets%2F-M4MzxR0e5mQd5SaZcPh%2F-M4Uq_SZ_I2s-vYGnmEK%2F-M4UqvkF3_tKQoMvEl5J%2Fimage.png?alt=media\&token=94c837ea-1b07-416f-b4ef-f2b2922eedb8)

**Option 2 – Windows PowerShell**

1. Select the `Start` button, then type `powershell`
2. Select `Windows PowerShell`
3. Type the following command, then press **Enter**:
4. `Clear-DnsClientCache`

![](https://gblobscdn.gitbook.com/assets%2F-M4MzxR0e5mQd5SaZcPh%2F-M4Uq_SZ_I2s-vYGnmEK%2F-M4UrJ_UHovz7xHYlmIO%2Fimage.png?alt=media\&token=72d24165-5f6b-4e71-a786-9cdb96073854)

​


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.sc.edu.lk/knowledge-base/untitled-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
