HOW TO DO IT

How to change your DNS on Windows, macOS and Linux

changer dns windows macos linux.webp

Changing DNS has many benefits. If you’ve never changed your computer’s DNS servers, you’re probably using those of your ISP (Internet Service Provider). And yet, changing DNS can improve your privacy, security, and sometimes even the loading of web pages. In this article we explain how change DNS servers of your network card in windows, macos AND linux. Follow the leader !

What is DNS? What is it for?

DNS (Domain Name System, or Domain Name System in French) is a system that allows you translate domain names to IP addresses. In other words, it links the web addresses we enter (like google.com) with the IP addresses (like 172.217.169.3) that computers use to connect to servers on the Internet. DNS can be compared to a gigantic directory that groups domain names with their IP addresses.

DNS makes it much easier to navigate the web because we don’t need to memorize those complex strings of numbers. All you have to do is type the name of a site and DNS takes care of finding the corresponding IP address, allowing the browser to locate the server and display the site.

In addition to this translation function, DNS also distributes the load among multiple servers, ensuring the availability and speed of websites. When you enter an address, your browser sends a query to the DNS server which, if it can’t find the cached address, contacts other servers to get the information. This makes the process transparent for the user, who can quickly access the sites without worrying about technical aspects.

Why change your DNS?

There are many reasons why you may want to change the DNS on your computer or router. Here are some of them:

  • To improve performance : If you are experiencing slow speeds or intermittent connection issues, changing your DNS could help improve performance. Your Internet Service Provider’s DNS server may be overloaded or down, and using a different provider may improve web page loading times.
  • To improve security : Some DNS servers offer better security features than others. For example, DNS4EU offers protection against phishing and malicious websites, as well as content filtering options that can block access to inappropriate websites on your network.
  • To access censored content : Your Internet Service Provider may censor certain websites, including online download sites. By changing your computer’s DNS, you can bypass this censorship and access blocked websites.

Which DNS resolver to choose?

There are many public DNS servers you can use, such as Cloudflare, GoogleDNS, FDN, or Quad9.

Personally, I use the DNS servers of the FDN (French Data Network), because it is a free and independent DNS provider that respects your privacy. However, you can opt for another DNS provider. You will find the complete list of the best fast and secure DNS servers in our dedicated article.

SupplierIPv4 addressesIPv6 addressesDNS over HTTPS (DoH)
cloud flare1.1.1.1
1.0.0.1
2606:4700:4700::1111
2606:4700:4700::1001
https://cloudflare-dns.com/dns-query
DNS4EU86.54.11.100
86.54.11.200
2a13:1001::86:54:11:100
2a13:1001::86:54:11:200
https://unfiltered.joindns4.eu/dns-query
FDN80.67.169.12
80.67.169.40
2001:910:800::12
2001:910:800::40
https://ns0.fdn.fr/dns-query
https://ns1.fdn.fr/dns-query
quadruple99.9.9.9
149.112.112.112
2620:faith::faith
2620:faith::9
https://dns.quad9.net/dns-query
Google8.8.8.8
8.8.4.4
2001:4860:4860::8888
2001:4860:4860::8844
https://dns.google/dns-query

Change DNS on Windows, macOS or Linux It is relatively simple. DNS must be modified in the TCP/IP properties of your network card. You simply have two addresses to configure, which correspond to those of the primary server and those of the secondary server. Here’s how to do it.

Change DNS in Windows [11, 10, 8, 7, etc.]

To change DNS on Windows, follow these steps:

  1. Press the keys simultaneously windows + R on your keyboard to open the Run dialog box.
  2. In the Run dialog box, type ncpa.cpl and validate with the key Entrance or click “ Well “.
Comment changer votre DNS sous Windows macOS et
  1. From the window” Network connections “, right click on the connection you are using (Ethernet or Wi-Fi network) and select ” Properties » in the context menu.
1733798960 63 Comment changer votre DNS sous Windows macOS et
  1. In it ” Network management », select from the list “ Internet Protocol version 4 (TCP/IPv4) » then click the « button Properties “.
1733798960 288 Comment changer votre DNS sous Windows macOS et
  1. In the “Properties” window, check the box ” Use the following DNS server address » so you can enter the new DNS manually.
  2. Enter the DNS servers of your choice, then check the “ Validate configuration on exit » and click “ Well “. For example, to use Cloudflare DNS servers, enter the following IPv4 addresses: 1.1.1.1 AND 1.0.0.1
Change DNS in Windows
  1. Repeat these same operations for the IPv6 protocol. To do this, select “ Internet Protocol version 6 (TCP/IPv6) ”, then click “ Properties “.
1733798961 894 Comment changer votre DNS sous Windows macOS et
  1. Check the box “ Use the following DNS server address ”, then fill out the DNS fields manually.
  2. Enter your IPv6 DNS, then check the “ Validate configuration on exit » and click “ Well “. For example, to use Cloudflare DNS servers, enter the following IPv6 addresses: 2606:4700:4700::1111 AND 2606:4700:4700::1001
1733798961 141 Comment changer votre DNS sous Windows macOS et

✅ Done, now you know how to change DNS easily in Windows 11/10.

Change DNS on macOS

To change the DNS servers on your Mac, follow these steps:

  1. Go to Apple menu 1790741040 622 menu pomme macosthen click ” System configuration “.
  2. Then click “ Grid “, then in ” wifi ” EITHER ” ethernet » (depending on your connection type).
1733798962 154 Comment changer votre DNS sous Windows macOS et
  1. Then click “ Details… “.
1733798962 98 Comment changer votre DNS sous Windows macOS et
  1. Go to ” DNS ”, then enter your new DNS addresses using the “ + » (example: 1.1.1.1 and 1.0.0.1 for Cloudflare DNS servers). Then validate with “ Well “.
1733798963 287 Comment changer votre DNS sous Windows macOS et
  1. Finally, click “ Well » to save the changes.
Change DNS on macOS

✅ Congratulations, you just changed the DNS on your Mac.

Change DNS in GNU/Linux

For Linux users, DNS settings may be different depending on the distribution used. Typically, they are configured in the /etc/resolv.conf file.

  1. Open a terminaltype the following command and enter your administrator password:
sudo nano /etc/resolv.conf
1733798963 425 Comment changer votre DNS sous Windows macOS et
  1. Enter the new DNS addresses like this:
nameserver 1.1.1.1
nameserver 1.0.0.1

📝 Note : Of course, replace the addresses 1.1.1.1 and 1.0.0.1 with the DNS servers of your choice.

  1. To save your changes, use the keyboard shortcut. CONTROL + oh and press Entrance.
  2. Finally, exit with the keyboard shortcut. CONTROL + unknown.
1733798964 335 Comment changer votre DNS sous Windows macOS et

Change DNS in Ubuntu

  1. Gonna ” Settings “, then in ” Grid “.
1733798964 251 Comment changer votre DNS sous Windows macOS et
  1. Choose which connection to modify (cable or Wi-Fi) by clicking on the small gear “ Settings “.
1733798964 773 Comment changer votre DNS sous Windows macOS et
  1. Click on the ” IPv4 ”, then turn off the “ Automatic “.
  2. In the section “ DNS », enter the new desired DNS addresses (if there are multiple addresses, place a comma between each address).
  3. Finally, click “ Apply » to save the changes.
Change DNS servers in Ubuntu

✅ Ready, now you know how to change DNS on your computer. If you have any questions, please don’t hesitate, the forum is here for that 😉


Finally, note that we have also written articles dedicated to changing DNS on Android and iPhone (iOS) smartphones, as well as on the PS5 console. Be sure to check them out for more information on how to change your DNS on these platforms. By using this technique, you will be able to improve your browsing experience and access content that may be blocked in your region.

Shares:

Related Posts