How to Change or Flush DNS on Windows 10

In this post, you’ll see the steps to change the DNS server and flush DNS on Windows 10. Let’s get started.

Flush DNS on Windows 10

You can flush the DNS resolver cache in Windows 10 if you face any issues with connecting to a website you’ve previously connected to without a problem.

Please see the steps to complete this task.

Steps

Open Run Command. Type cmd and then press the “Enter” key.

You can now view the Command Prompt. In it, type: ipconfig /flushdns

Press the “Enter” key.

Read: How to Change a PC Name in Windows 10

Change DNS Server on Windows 10

Right-click on the “Start” button and then click on “Network Connections” in the Power user menu.

Find and hit “Change adapter options.”

In the “Network Connections” window, right-click on your connection (mine is a Wi-Fi connection). Click “Properties.”

You can now see the “Wi-Fi Properties” pop-up.

Select “Internet Protocol Version 4 (TCP/IPv4).” Click on the “Properties” button.

You can now see the “Internet Protocol Version 4 (TCP/IPv4) Properties” pop-up.

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 steps below.

Enter the addresses of the DNS server you prefer. I’m providing Cloudflare DNS addresses.

  • On the Preferred DNS server, enter – 1.1.1.1
  • On the Alternative DNS server, enter – 1.0.0.1

Tap the “OK” button and then tap the “Close” button in the “Wi-Fi Properties” pop-up.

Restart your browser.

Note:

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

Go to the “Wi-Fi Properties” pop-up using the steps above.

Select “Internet Protocol Version 6 (TCP/IPv6).” Click on the “Properties” button.

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 steps below.

Now, enter the addresses of the DNS server you prefer. I’m entering the Cloudflare DNS addresses.

  • On the Preferred DNS server, enter – 2606:4700:4700::1111
  • On the Alternative DNS server, enter – 2606:4700:4700::1001

Click on the “OK” button. Now, click on the “Close” button in the “Wi-Fi Properties” pop-up.

Restart your browser.

Read: