How to Change Dns Windows 10

Chatting at the bar, a friend suggested that you change the DNS servers in use on your PC with Windows 10 installed and you, being inexperienced in computer science, to avoid making a bad impression on the matter you did not bat an eye and you answered in a manner smiling saying you agree on the thing. Unaware of what he really meant, once you got home you rushed to the Internet hoping to understand first what these DNS servers are and then also how to change them on your PC and you ended up here, on this tutorial of mine.

How do you say? Things are exactly like this and you would like to understand if I can really give you a hand by explaining to you how to change DNS Windows 10? Of course you do, don't worry. If you dedicate a few minutes of your precious free time to me, I can in fact show you, in detail, how to succeed in what at the moment will certainly seem a difficult undertaking as well as, of course, explain to you exactly what these servers are. DNS, which are the best and what they are for.

Then? Would you like to finally put the gossip aside and get to the heart of the matter? Yes? Great! So let's not waste any more time and immediately begin to get to work. Position yourself well as in front of your trusted computer and read with the utmost attention everything reported below. I am sure that in the end you will be able to tell yourself very happy and satisfied with what you have learned.

What Are DNS

As anticipated at the beginning, to begin with I would like to explain what exactly these DNS are, or rather DNS servers. Without going around it too much, they are a kind of “intermediaries” between us and the Internet sites we want to visit.

It is in fact thanks to them that we can visit, for example, Google by simply typing "" or "" in the address bar of the browser instead of the IP address of the search engine, which would be a very long string of numbers ( which would then be the real coordinates of the reference site) practically impossible to remember every time as well as decidedly impractical to type to do a search "on the fly" online. In short, as you can see for yourself they have their great utility!

DNS servers are not unique, there are tons of them available around the world. Changing them can be useful to reduce the response times of Internet sites thus speeding up their opening as well as to be able to access those portals for which the provider in use has possibly imposed blocks.

What Are the Best DNS

But what are the most popular DNS servers currently on the market? The answer is soon given! There are those of Google, those of CloudFlare and those of OpenDNS. You will find them all listed below.

Google DNS Server 

  • Default DNS Server:
  • Alternative DNS server:

Server DNS di Cloudflare 

  • Default DNS Server:
  • Alternative DNS server:

DNS server at OpnDNS

  • Default DNS Server:
  • Alternative DNS server:

Those of "big G" and Cloudflare are famous above all for their speed and for the fact that, being international, they also allow access to sites that are blocked by Italian providers. Those of Cloudflare promise a greater degree of privacy, not keeping the data of the sites visited by users stored. Even those of OpenDNS are fast enough and allow you to access blocked sites in Italy, but they are exploited primarily for their parental control function through which you can inhibit the display of specific categories of sites (e.g. sites for adults only, sites dedicated to betting etc.).

However, considering that, as already mentioned a few lines above, there are many DNS servers and that in addition to those of Google and OpenDNS already mentioned there are also others that can prove to be very valid, if you want advice to find more you can rely on Namebench. This is a free software for Windows 10 (but can also be used without problems on other versions of the Microsoft operating system as well as on Mac) just in charge of identifying the best performing DNS for the connection in use as well as for the location geographical reference.

You ask me how to use it? Nothing easier! To begin with, connect to the program's website and click on the link namebench-xxx-Windows.exe to immediately download the program to your PC.

When the download is complete, open the executable file you just obtained and click on the button Extract in the window that you see appear on the desktop and then put the check mark on the box next to the item Include censorship checks per escludere dal test i server DNS check bloccano l'accesso a determinati siti and click on the button Start.

Once this is done, the search procedure for the best servers will start and at the end of the operation a web page will open with the recommended DNS configuration for your computer at the top right. That's all.

In addition to using the software I just told you about, to identify good DNS servers to use to change those for your PC with Windows 10 installed, you can use one of the ad hoc programs that I indicated in my guide. dedicated to the topic. In this article, I have in fact shown you a bunch of further special tools that, acting in a similar way to Namebench, can help you identify the DNS servers that can guarantee you the best performing results.

Change DNS on Windows 10

Now that you finally have clearer ideas about the nature of DNS servers, I would say that we can finally go to the real heart of the matter and try to figure out how to change them on the latest operating system from Microsoft: Windows 10.

To do this, you can take two different paths based on what your preferences are. You can choose to act from the Windows settings or from the command prompt. The final result is identical in both cases.

Standard Procedure

If you have chosen to change the DNS on Windows 1 or by acting from the system settings, the first step you need to take to succeed in your intent is to click on the button Start (the flag icon located in the lower left corner of the screen), search Panel of control in the menu that opens and select the first occurrence from the search results.

The Windows Classic Control Panel will open. Then select the items Rete and Internet network and sharing center, choose the name of the connection in use (eg. EthernetWi-Fi) and click on the button Property in the window that appears on the desktop.

Now, locate the wording Internet Protocol versione 4 (TCP / IPv4) in the list that you find under the heading The connection uses the following elements:, make sure that the relevant box is checked (and if not, you can do it yourself), click on the button Property that you find below and select the item Use the following DNS server addresses:.

Finally, type the address of the DNS servers you intend to use in the fields next to the entries Preferred DNS Server: e Server DNS alternativo:, put the check mark on the box that you find next to the wording Valid impostazioni all'uscita and click sul pulsating OK to save and apply the changes made. Done!

If you then wish to change the DNS servers set on Windows 10 again, you can change them at any time and as often as you want by simply carrying out the procedure I have just reported to you from scratch.

If, on the other hand, you have second thoughts and want to make sure that your PC with Windows 10 installed automatically acquires the DNS servers of the Internet provider of the reference connection or in any case those set in the modem / router, simply check the item Ottieni indirizzo DNS server automatically after selecting the item Internet Protocol versione 4 (TCP / IPv4) and after clicking the button Property after choosing the connection in use in the system connection center.

Alternative Procedure

If you prefer to change the DNS on Windows 10 by acting through Command Prompt, first access it by clicking on magnifying glass attached to the taskbar at the bottom left, by typing Command Prompt in the search box that is shown to you, by right clicking on the relevant result and selecting Run as administrator give the menu that appears.

Once the Command Prompt window appears on the desktop, type the command netsh and press the button Submit on the keyboard. Then type the command interface ip set dns “network interface name” static [DNS server] primary (supporting network interface name the name of the reference network interface and a [server DNS] the primary DNS server you want to use) to set the primary DNS server and press the button Submit on the keyboard.

Then type the command interface ip add dns “network interface name” [DNS server] index = 2 (supporting network interface name the name of the reference network interface and a [server DNS] the secondary DNS server you want to use) to set the secondary DNS server and press the button again Submit on the keyboard to set the secondary DNS server as well.

The changes you make will be applied instantly. So close the command prompt window and you can then start surfing the net from your Windows 10 PC using the DNS servers set up practically right away.