Press "Enter" to skip to content

Как изменить DNS-серверы в Windows 11

Alternatively, it’s still possible to use Control Panel to change the DNS settings on Windows 11.

How to change DNS server address on Windows 11

You can always change the DNS servers on Windows 11 for faster, more private, and secure resolvers, and here’s how.

January 16, 2023
2023-03-10T07:07:25-05:00

  • To change the DNS address on Windows 11, open Settings >Network & internet and select Ethernet or Wi-Fi.
  • Then open the “DNS server assignment” settings and change the DNS address.
  • Also, on Command Prompt, you can use the “netsh interface ip set dns name=”Ethernet0″ static 1.1.1.1” command.
  • On PowerShell, you can use the “Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses 208.67.222.222” command.

On Windows 11 (or any other computing system), Domain Name System (DNS) is a technology that translates domain names (Twitter.com) into IP addresses (104.244.42.193) that computers can understand.

Typically, your Internet Service Provider (ISP) supplies this configuration automatically to make connecting to your favorite websites and services easier. However, many other DNS resolvers on the internet are faster, more reliable, better in privacy, and more secure. Some of them include Cloudflare, Google, and Cisco.

If the current DNS servers are slow and unreliable or don’t trust your ISP system, you can change the DNS addresses on Windows 11 in at least four ways using Command Prompt, PowerShell, Settings, and Control Panel.

In this guide, you will learn how to change the DNS servers on Windows 11.

  • Best DNS servers for Windows 11
  • Change DNS servers on Windows 11 from Command Prompt
  • Change DNS servers on Windows 11 from PowerShell
  • Change DNS servers on Windows 11 from Settings
  • Change DNS servers on Windows 11 from Control Panel

Best DNS servers for Windows 11

Cloudflare, OpenDNS, and Google are among the best companies that offer fast, reliable, and secure resolvers. However, you can always use any service you want.

Cloudflare DNS addresses

  • 1.1.1.1
  • 1.0.0.1

Google Public DNS addresses

  • 8.8.8.8
  • 8.8.4.4

OpenDNS by Cisco DNS addresses

  • 208.67.222.222
  • 208.67.220.220

Change DNS servers on Windows 11 from Command Prompt

The quickest way to change the DNS servers on Windows 11 is using Command Prompt, even though typing commands isn’t for everyone.

To change the DNS address with Command Prompt, use these steps:

  1. Open Start on Windows 11.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to see your current networking configuration and press Enter:

ipconfig /all
  • IPv4
  • DNS Servers
netsh interface ip set dns name="Ethernet0" static 1.1.1.1
netsh interface ip add dns name="Ethernet0" 1.0.0.1 index=2

Once you complete the steps, you can use the ipconfig /all command to confirm the new configuration.

Change DNS servers on Windows 11 from PowerShell

You can also use the NetTCPIP module with PowerShell to manage the DNS server settings on Windows 11.

To change the DNS address with PowerShell, use these steps:

  1. Open Start.
  2. Search for PowerShell, right-click the result, and select the Run as administrator option.
  3. Type the following command to view your current network configuration and press Enter:

Get-NetIPConfiguration
  • InterfaceIndex
  • DNSServer
Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses 208.67.222.222

(Optional) If you need to set a secondary DNS server address, you can use the same command but add a comma and append the second address:

Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses 208.67.222.222, 208.67.220.220

After you complete the steps, you can test the new configuration using this guide.

Change DNS servers on Windows 11 from Settings

If typing commands isn’t for you, the Settings app is the best method to change the DNS servers. You can even easily configure DNS over HTTPS (DoH), which offers more privacy and security using encryption for in and out DNS traffic from your computer.

To change the Windows 11 DNS address with Settings, use these steps:

Quick note: If you have a Wi-Fi connection, click the connection properties option to access the DNS settings.

Quick note: The option to enable encryption will only be available if the service is detected by Windows 11 to support the technology.

Once you complete the steps, the computer will continue to use a dynamic network address configuration, but it’ll now use the static DNS servers you specified.

Change DNS servers on Windows 11 from Control Panel

Alternatively, it’s still possible to use Control Panel to change the DNS settings on Windows 11.

To change the DNS address of Windows 11 with Control Panel, use these steps:

  1. Open Control Panel.
  2. Click on Network and Internet.
  3. Click on Network and Sharing Center.
  4. Click the Change adapter settings option from the left pane.
  5. Right-click the network adapter and select the Properties option.
  6. Select the “Internet Protocol Version 4 (TCP/IPv4)” option.
  7. Click the Properties button.
  8. Under the “Use the following DNS server addresses” section, specify the “Preferred DNS server,” which is the server address of Cloudflare, Google, OpenDNS, or another service.
  9. (Optional) Specify the “Alternative DNS server” and the DNS address your device will use if it can’t reach the preferred server address.
  10. Click the OK button.
  11. Click the Close button.

Once you complete the steps, you can use services like the DNS leak test to confirm the new configuration.

When using Control Panel, you can specify any DNS server on Windows 11, but you won’t be able to enable DNS over HTTPS.

Whatever method you use, make sure to use the correct IP address for the DNS server. Otherwise, you won’t be able to connect to the internet.

We may earn commission for purchases using our links to help keep offering the free content. Privacy policy info.

All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.

Since you are here.

I’ve got a small favor to ask. This is an independent site, and producing content takes a lot of hard work. Although more people are reading Pureinfotech, many use adblocker. Thus advertising revenue is falling fast. And unlike many other sites, there is no paywall blocking readers here. So you can see why your help is needed. If everyone who finds this website useful and helps to support it, the future would be much more secure. Thank you.

$75 raised so far by 6 people.

Related Stories

  • Install updates manually on Windows 11 (six ways)
  • Microsoft says more AI features will come to Windows 11, 12

Как изменить DNS-серверы в Windows 11

В этой статье я покажу, как самостоятельно изменить DNS-серверы в Windows 11 для конкретной Wi-Fi сети, для всех сетей, и для проводного Ethernet-соединения. DNS-сервер выполняет задачу преобразования адреса сайта в IP-адрес. А дальше уже выполняется подключение к серверу и загрузка сайта. Чаще всего DNS-серверы предоставляет интернет-провайдер. То есть по умолчанию мы используем DNS-серверы провайдера. Но с ними не редко случаются какие-то проблемы. Например, ошибка DNS-сервер не отвечает в Windows 11. К тому же они могут медленно работать, или иметь какие-то проблемы с безопасностью и конфиденциальностью.

Поэтому рекомендуется использовать альтернативные DNS-серверы. И наверное самые популярные Google Public DNS от компании Google. Это могут быть DNS-серверы и от других компаний. Больше информации о Google Public DNS вы найдете в этой статье. Дальше я покажу, как вручную прописать любые DNS-серверы в настройках Windows 11. Отдельно рассмотрим изменение DNS для конкретной Wi-Fi сети, для всех подключений через беспроводной адаптер и Ethernet адаптера (LAN).

Для начала нам нужно открыть параметры. Сделайте это удобным для вас способом. Можно, например, нажать правой кнопкой на меню Пуск и выбрать “Параметры”.

Дальше выполняем инструкции в зависимости от того, для какого подключения вам нужно сменить DNS.

Настройка DNS для подключения по Wi-Fi (всех сетей) и Ethernet

  1. На вкладке “Сеть и Интернет” выбираем пункт “Дополнительные параметры сети”.
  2. Дальше нажмите на “Беспроводная сеть” и выберите “Посмотреть дополнительные свойства”.
    Важно: если вам нужно изменить DNS-серверы для соединения по кабелю (через сетевую карту LAN), то выберите адаптер “Ethernet”. Дальше все по инструкции. Я показываю на примере беспроводного подключения.
  3. Напротив пункта “Изменение DNS-сервера” нажимаем на кнопку “Изменить”.
  4. В Выпадающем меню выбираем “Вручную”, включаем “IPv4” и прописываем DNS-серверы. В поле “Предпочтительный DNS-сервер” – 8.8.8.8 и в поле “Дополнительный DNS-сервер” – 8.8.4.4. Это серверы от Google. При необходимости вы можете прописать свои.
    Нажмите на кнопку “Сохранить”.
  5. Так же можно прописать адреса для IPv6. У Google Public DNS они следующие: 2001:4860:4860::8888 и 2001:4860:4860::8844.
    Не забудьте нажать на кнопку “Сохранить”.
  6. После сохранения настроек Windows 11 будет использовать прописанные вами DNS-серверы. Если вы меняли их для решения какой-то проблемы, и это не сработало, то попробуйте перезагрузить компьютер.

Возможно, вы обратили внимание на пункт “Альтернативное шифрование DNS” в настройках выше. Это настройка, которая позволяет включить функцию шифрования DNS-трафика. Это позволит сделать ваше соединение более безопасным. На эту тему я планирую написать отдельную, более подробную статью.

Я рекомендую включить функцию “Только зашифрованные (DNS поверх HTPS)”. Но обратите внимание, что она работает только с некоторыми DNS-серверами. Их не много. Узнать их можно выполнив команду netsh dns show encryption в командной строке. Google Public DNS поддерживают DNS over HTTPS в Windows 11.

Изменение DNS для одной конкретной Wi-Fi сети

Когда мы меняем параметры в свойствах адаптера (как я показывал выше), то они применяются ко всем подключениям через этот адаптер. Но в Windows 11 есть возможность изменить DNS для одной, конкретной Wi-Fi сети. Сделать это можно в свойствах данной сети.

В параметрах, в разделе “Сеть и Интернет” выберите “Wi-Fi”.

Дальше нажмите на пункт “Свойства (имя вашей сети)”.

Нажимаем на кнопку “Изменить” напротив “Изменение DNS-сервера” и в открывшемся окне прописываем DNS-серверы, как это показано в инструкции выше.

Не забудьте сохранить настройки (нажать на кнопку “Сохранить”).

Если остались какие-то вопросы – спрашивайте в комментария. Я с радостью отвечу.

Comments are closed, but trackbacks and pingbacks are open.