how to change dns windows 10

Step-by-Step: Change DNS Settings on Windows 10

By Michael White
AD

In the realm of digital networking, Domain Name System (DNS) plays a pivotal role in translating human-readable domain names into IP addresses. As a Windows 10 user, you may encounter instances where you need to change your DNS settings. Whether you're trying to optimize your network performance, switch to a different DNS server, or troubleshoot connectivity issues, understanding how to change DNS settings on Windows 10 is a valuable skill. Let's delve into the process with detailed steps and helpful examples.

Before we proceed, let's briefly understand why you might need to change your DNS settings. You might be using a public DNS server like Google's (8.8.8.8 and 8.8.4.4) or Cloudflare's (1.1.1.1) for faster and more secure internet browsing. Alternatively, you might want to switch to a private DNS server for enhanced privacy or unblock geo-restricted content. Whatever your reason, we're here to guide you through the process.

Manually Changing DNS Settings on Windows 10

Changing your DNS settings on Windows 10 involves tweaking your network adapter properties. Here's a step-by-step guide to help you through the process.

AD
How to Turn on DNS Over HTTPS For All Apps in Windows 10
How to Turn on DNS Over HTTPS For All Apps in Windows 10
How to change DNS settings in Windows
How to change DNS settings in Windows
How To Flush DNS Windows 11: A Step-by-Step Guide To Refresh Your Network
How To Flush DNS Windows 11: A Step-by-Step Guide To Refresh Your Network

First, let's access the Network Connections window. You can do this by right-clicking on the Start button and selecting 'Network Connections'. Alternatively, you can press the Windows key + X on your keyboard and choose 'Network Connections' from the quick links menu.

Identifying Your Network Adapter

In the Network Connections window, you'll see a list of your network adapters. Your primary adapter is usually labeled as 'Ethernet' or 'Wi-Fi', depending on your connection type. If you're unsure which adapter to choose, you can right-click on each one and select 'Status' to check its connected status and network usage statistics.

Change DNS to Google or Cloudflare in Windows 11/10
Change DNS to Google or Cloudflare in Windows 11/10
How to change your DNS and (maybe) take the internet back
How to change your DNS and (maybe) take the internet back
How to Change a DNS Server: A Step-by-Step Guide
How to Change a DNS Server: A Step-by-Step Guide

Once you've identified your network adapter, right-click on it and select 'Properties'. This will open a new window displaying the properties of your network adapter.

Changing Your DNS Server Address

In the Properties window, select 'Internet Protocol Version 4 (TCP/IPv4)' from the list of network protocols, then click on the 'Properties' button below. This will open the Internet Protocol Version 4 (TCP/IPv4) Properties window, where you can modify your DNS server settings.

AD

To change your DNS server, select 'Use the following DNS server addresses' instead of 'Obtain an IP address automatically'. Then, enter the preferred and alternate DNS server IP addresses you wish to use. For instance, if you're using Google's DNS servers, enter '8.8.8.8' as the Preferred DNS server and '8.8.4.4' as the Alternate DNS server. Once you've entered the desired DNS server addresses, click 'OK' to save the changes.

5 Alternative Ways to Change Your DNS Server in Windows 11
5 Alternative Ways to Change Your DNS Server in Windows 11
How to Enable DNS over HTTPS in Windows 10
How to Enable DNS over HTTPS in Windows 10
How to Use DnS Over HTTPS on Windows, Android, Mac and iOS?
How to Use DnS Over HTTPS on Windows, Android, Mac and iOS?
the words i finally stopped guess about dns problems after learning these windows command commands
the words i finally stopped guess about dns problems after learning these windows command commands
How to Change DNS Server on Windows for Faster Browsing
How to Change DNS Server on Windows for Faster Browsing
How to Change DNS Server on Windows - 5 Ways
How to Change DNS Server on Windows - 5 Ways

Upon closing the Internet Protocol Version 4 (TCP/IPv4) Properties window, you'll be prompted to confirm your changes. Click 'Close' to save your new DNS server settings. Windows will apply the changes immediately, and you should now be using your newly designated DNS server.

Using Command Prompt to Change DNS Settings

If you're comfortable with using the command prompt, there's also a faster way to change your DNS settings on Windows 10.

AD

To begin, open the Command Prompt as an administrator. You can do this by right-clicking on the Start button and selecting 'Command Prompt (Admin)' or 'Windows PowerShell (Admin)', depending on your Windows 10 version. Alternatively, you can press the Windows key + X on your keyboard and choose your preferred administrative command prompt option from the quick links menu.

How to Change Your DNS Server on Windows, Mac, Linux, Smartphones, and Routers - Tech2Geek
How to Change Your DNS Server on Windows, Mac, Linux, Smartphones, and Routers - Tech2Geek
How to Switch to Google DNS on Windows and Mac
How to Switch to Google DNS on Windows and Mac

Using the netsh command

The 'netsh' command is a powerful networking scripting utility in Windows that allows you to configure network settings directly from the command prompt. To change your DNS server using 'netsh', follow these steps:

1. Type `netsh interface IPv4 show config` into the command prompt and press Enter. This command will display the current IPv4 settings for your network adapter.

AD

2. Identify the name of your network adapter from the list. It's usually labeled as 'Ethernet' or 'Wi-Fi', followed by a number. For example, it might be 'Ethernet 2' or 'Wi-Fi 6'.

3. Replace the adapter name in the following command with the name you identified earlier, and enter the desired DNS server IP addresses in place of 'preferred_DNS' and 'alternate_DNS':

```bash netsh interface "adapter name" set dns "preferred_DNS" static "alternate_DNS" ```

For instance, if your adapter name is 'Ethernet 2' and you're using Google's DNS servers, the command would look like this:

```bash netsh interface "Ethernet 2" set dns static 8.8.8.8 8.8.4.4 ```

Press Enter to execute the command. Your new DNS server settings will be applied instantly, and you should now be using the specified DNS server.

In the vast world of Windows 10 configurations, knowing how to change DNS settings can empower you to customize and optimize your network experiences. Whether you're switching to faster DNS servers, enhancing your privacy, or troubleshooting connectivity issues, the ability to modify your DNS settings contributes to a more flexible and controlled networking environment. Happy browsing!

AD