How to Change or Flush DNS in Windows 10?

In this post, we’ll see:

To Flush DNS in Windows 10

You can flush DNS resolver cache in Windows 10 when you face any issue with connecting to a website you’ve previously connected without a problem. Let’s see the steps to do this task.

Steps

  1. Open Run Command. Type cmd and then press the Enter key.
  2. You can see the Command Prompt now. In it, type: ipconfig /flushdns
  3. Press the Enter key.
The command is executed successfully

Change DNS Server in Windows 10

  1. Right-click on the Start button and then click on Network Connections in the Power user menu.
  2. In the Change your network settings section, you can see Change adapter options. Click on it.
Change adapter options
  1. In the Network Connections window, right-click on your connection (mine is WiFi connection). Click Properties.
  2. Now, you can see the WiFi Properties pop-up. Select Internet Protocol Version 4 (TCP/IPv4). Click on the Properties button.
Selected Internet Protocol Version 4 in WiFi Properties
  1. Now, you can see Internet Protocol Version 4 (TCP/IPv4) Properties pop-up.
  2. Look for the option Use the following DNS server addresses. Select it.

Note: If the option is already selected, then note down the existing DNS server addresses so you can use it later if you wish. After that, clear the existing ones and follow the below steps.

  1. Enter the addresses of the DNS server you prefer. I’m providing Cloudflare DNS addresses.
  • In the Preferred DNS server, enter – 1.1.1.1
  • In the Alternative DNS server, enter – 1.0.0.1
Selected Use the following DNS server addresses option and fields are filled with Cloudflare DNS addresses
  1. Tap the Ok button and then tap the Close button in the WiFi Properties pop-up.
  2. Restart your browser.

Note:

The above steps are for IPv4. To do the same task for IPv6, here are the steps:

  1. Go to the WiFi Properties pop-up using the above steps.
  2. Select Internet Protocol Version 6 (TCP/IPv6). Click on the Properties button.
  3. In the Internet Protocol Version 6 (TCP/IPv6) Properties pop-up, find and select Use the following DNS server addresses.

Note: If that option is already selected, note down the existing DNS server addresses. After that, clear the existing DNS server addresses and follow the below steps.

  1. Now, enter the addresses of the DNS server you prefer. I’m entering Cloudflare DNS addresses.
  • In the Preferred DNS server, enter – 2606:4700:4700::1111
  • In the Alternative DNS server, enter – 2606:4700:4700::1001
  1. Click on the Ok button. Now, click on the Close button in the WiFi Properties pop-up.
  2. Restart your browser.