Open the windows start menu and search for Control Panel

Open Network and Internet from the Control Panel

Next, open Network and Sharing Center

On the left, in the side panel click Change adapter settings

Find the network adapter that you are currently using. There might be multiple adapters enabled. If this is the case, you may need to repeat the following instructions for each network adapter.

In the list, find and select Internet Protocol Version 4 (TCP/IPv4)

On the bottom of the newly opened window select Use the following DNS server addresses and set Preferred DNS server to 8.8.8.8 and Alternative DNS server to 8.8.4.4.

Once done, press OK to save your DNS for IPv4.
In the list, find and select Internet Protocol Version 4 (TCP/IPv4)

On the bottom of the newly opened window select Use the following DNS server addresses and set Preferred DNS server to 2001:4860:4860::8888 and Alternative DNS server to 2001:4860:4860::8844.

Once done, press OK to save your DNS for IPv6.
Just to make sure everything is set properly we can do a little test. This will let us know what our computer is actually using as the DNS server.
Open the command prompt
Search for the Command Prompt program. You can also enter cmd into the run program.
ipconfig /all | findstr "DNS\ Servers"
The output will look like
DNS Servers ...........: <DNS SERVER>
If the <DNS SERVER> doesn’t match what you entered earlier, something went wrong. Give this guide another try from the top. There can be multiple lines showing the multiple DNS servers you have set.
DNS records are often saved on your computer. Somtimes upto 24 hours. You can clear these records by running ipconfig /flushdns in the command line.
Search for the Command Prompt program. You can also enter cmd into the run program.

Now in the command prompt, type the following and press enter
ipconfig /flushdns
