How to set different DNS settings on devices running Windows 11

When connecting to a network and the Internet, the Domain Name System (DNS) address is essential for easy access to different websites and downloading of files.

Usually, you don’t have to worry about this setup because it’s already provided by your Internet Service Provider (ISP). The problem is that these services are slow, unreliable, and most importantly, not private. However, it is possible to modify this configuration for other services offering more privacy and performance.

Set DNS

In a nutshell, a domain name system is usually a free service that provides the technology that allows you to type the website name into the browser to load the webpage. If DNS didn’t exist, it would be almost impossible to browse the web like we do today because you would need to use the site’s IP address, which is hard to remember.

This is because computers require numeric addresses (commonly known as IP addresses), such as 104.18.189.55, to communicate with other devices. However, these IP addresses are not easy for humans to remember, and DNS provides the means to translate friendly website names (e.g., Microsoft.com) into the numeric address that computers understand when you type in the name of domain in the browser address bar. .

You probably never noticed this translation because the process happens almost in real time. However, depending on the service you use, this could make your internet experience slower and unreliable.

If you prefer a different service or want to switch to a more private and reliable resolver, Windows 11 lets you change DNS settings in at least three ways using the Settings app, Control Panel, and from the command prompt.

Although it’s best to configure the DNS settings on the router, sometimes you may have reason to manually change the network configuration on your computer. For example, if you do not have access to the router, you must configure a server that requires static parameters or for many other reasons.

This guide will walk you through the steps to change DNS settings on Windows 11.

How to Change DNS from Settings on Windows 11

To change DNS settings on Windows 11, follow these steps:

  1. Open Settings.
  2. Click on Network & internet.
  3. Click it ethernet Where Wireless page on the right side.

(Image credit: future)
  • Quick note: If you select the Wireless option, you need to click on the Properties settings to access the network configuration.
  1. Click it Edit button for the “DNS server assignment” setting.

(Image credit: future)
  1. Select the Manual option from the drop-down menu.
  2. turn it on IPv4 rocker switch.
  3. Confirm the primary DNS address in the “Preferred DNS” setting. For example, to use Cloudflare, Google Public DNS, or Cisco OpenDNS, use these settings:
  • Cloud Flare: 1.1.1.1
  • Google Public DNS: 8.8.8.8
  • OpenDNS: 208.67.222.222

(Image credit: future)
  1. (Optional) Select the encryption option in the “Preferred DNS encryption” setting. Available options include:
  • Unencrypted only — Encryption will not be for DNS queries.
  • Encrypted only (DNS over HTTPS) — DNS requests will be sent encrypted using the HTTPS protocol.
  • Encrypted preferred, unencrypted allowed — Encryption will be preferred for sending DNS queries, but unencrypted queries will also be allowed.
  • Quick note: DNS over HTTPS (DoH) is a network protocol that encrypts DNS queries using industry-standard Hypertext Transfer Protocol Secure (HTTPS) to protect DNS queries, improving web browsing security and privacy. You will only be able to enable this feature if you have specified a DNS address that supports encryption.
  1. Confirm the secondary DNS address in the “Alternate DNS” setting. You can use one of the secondary addresses:
  • Cloud Flare: 1.0.0.1
  • Google Public DNS: 8.8.4.4
  • OpenDNS: 208.67.220.220
  1. (Optional) Select the encryption option in the “Alternate DNS encryption” setting.
  2. Click it to safeguard button.

After completing the steps, the new settings should apply immediately. However, you may need to restart the computer for the new DNS servers to start working.

How to Change DNS from Control Panel on Windows 11

To specify different DNS addresses from Control Panel, follow these steps:

  1. Open Control Panel.
  2. Click on Network and Internet.
  3. Click on Network and Sharing Center.
  4. Click it Change adaptation settings option in the left pane.

Change adaptation settings

(Image credit: future)
  1. Right-click on the active network adapter and select the Properties option.

(Image credit: future)
  1. Select and check the Internet Protocol Version 4 (TCP/IPv4) option.
  2. Click it Properties button.

(Image credit: future)
  1. Select the “Use the following DNS server addresses” option.
  • Quick note: When you manually specify DNS settings, the device will continue to receive the rest of the TCP/IP configuration from the DHCP server (router).
  1. Confirm the primary DNS address in the “Preferred DNS Server” setting. If you want to use Cloudflare, Google Public DNS, or Cisco OpenDNS, you can use these settings:
  • Cloud Flare: 1.1.1.1
  • Google Public DNS: 8.8.8.8
  • OpenDNS: 208.67.222.222

(Image credit: future)
  1. Confirm the secondary DNS address in the “Alternate DNS Server” setting. You can use one of the addresses:
  • Cloud Flare: 1.0.0.1
  • Google Public DNS: 8.8.4.4
  • OpenDNS: 208.67.220.220
  1. (Optional) Click the Advanced button.
  2. Click it DNS tongue.
  3. Click it To add button.
  4. Specify additional alternate DNS server addresses.
  5. Click it To add button.

(Image credit: future)
  • Quick advice: Besides adding more addresses, you can edit and remove resolvers and have an option on the side to change their priority.
  • Click it OKAY button.
  • Click it close button.

After completing the steps, the new DNS servers should start working on your computer. Since Microsoft continues to slowly disappear from the Control Panel, you won’t find the option to enable DNS over HTTPS from this experience.

How to Change DNS from Command Prompt on Windows 11

To change Windows 11 DNS addresses with commands, follow these steps:

  1. Open Begin.
  2. To research Command Promptright-click on the first result and select the Execute as administrator option.
  3. Type the following command to run the netsh tool and press Walk in: Netsh
  4. Type the following command to identify network adapter names and press Walk in: interface show interface
  5. Type the following command to set the primary DNS address and press Walk in: interface ip set DNS name=”ADAPTER-NAME” source=”static” address=”XXXX”

In the command, change “ADAPTER-NAME” with the name of the network adapter you identified in step 4and change “XXXX” with the IP address you want to use. To use Cloudflare, Google Public DNS, or Cisco OpenDNS, you can use these settings:

  • Cloud Flare: 1.1.1.1 and 1.0.0.1
  • Google Public DNS: 8.8.8.8 and 8.8.4.4
  • OpenDNS: 208.67.222.222 and 208.67.220.220

This example sets the primary DNS address to 1.1.1.1: interface ip set DNS name=”Ethernet0″ source=”static” address=”1.1.1.1″

(Image credit: future)
  1. Type the following command to add an alternate DNS address and press Walk in: interface ip add dns name=”ADAPTER-NAME” addr=”XXXX” index=2

In the command, change “ADAPTER-NAME” with the name of your network adapter you queried about step 4and change “XXXX” with the secondary address. This example sets the secondary DNS address to 1.0.0.1: interface ip add dns name=”Ethernet0″ addr=”1.0.0.1″ index=2

  • Quick advice: Repeat the above steps to define additional addresses (if needed). However, in the command, you need to increase the index option number by 1. For example, interface ip add dns name=”Ethernet1″ addr=”8.8.8.8″ index=3

Once the steps are complete, the computer will start using the new addresses to perform DNS queries.

More resources

For more helpful articles, coverage, and answers to common Windows 10 and Windows 11 questions, visit the following resources:


Source link