This tutorial will show you how to find the IPv4 and IPv6 DNS servers used on your Windows 11 device.
A DNS (Domain Name System) server is the service that makes it possible for you to open a web browser, type a domain name and load your favorite websites.
DNS over HTTPS (DoH) is a protocol for performing remote Domain Name System resolution via the HTTPS protocol. A goal of the method is to increase user privacy and security by preventing eavesdropping and manipulation of DNS data by man-in-the-middle attacks by using the HTTPS protocol to encrypt the data between the DoH client and the DoH-based DNS resolver.
You will have separate IPv4 DNS servers and IPv6 DNS servers assigned or set to the network adapter on your Windows 11 device.
When you subscribe to an Internet Service Provider (ISP) (ex: Cox, Comcast, AT&T, etc...) in your area, your Windows 11 device will use their DNS server by default.
If you change the DNS server, then depending on where you changed it at will affect the priority of which DNS servers get used by your devices.
- If you use a custom DNS for your browser (ex: Google Chrome, Microsoft Edge, or Firefox), then that DNS server will be used while using the browser.
- If you connect to a VPN, then the VPN may assign the DNS server unless any of the above is true.
- If you set a custom DNS on your Windows 11 device, then that DNS server will be used unless any of the above is true.
- If you use a router and set a custom DNS on the router, then that DNS server will be used by all devices connected to the router unless any of the above is true.
- If none of the above is true, then you will use the DNS server provided by your ISP.
Contents
- Option One: Find DNS Servers in Settings
- Option Two: Find DNS Servers in Advanced Network Settings
- Option Three: Find DNS Servers in Network and Sharing Center
- Option Four: Find DNS Servers in Network Connections
- Option Five: Find DNS Servers using "Get-DnsClientServerAddress" Command
- Option Six: Find DNS Servers using "ipconfig" Command
1 Open Settings (Win+I).
2 Click/tap on Network & internet on the left side, and click/tap on Properties for the connected network you want. (see screenshot below)
3 Click/tap on the network connection (ex: "Ethernet") you want to know the DNS servers it uses to expand it open. (see screenshot below)
4 You will now see the IPv4 DNS Servers and IPv6 DNS Servers addresses used by this network connection.
1 Open Settings (Win+I).
2 Click/tap on Network & internet on the left side, and click/tap on Advanced network settings on the right side. (see screenshot below)
3 Click/tap on the network adapter (ex: "Ethernet") you want to know the DNS servers it uses to expand it open, and click/tap on View additional properties. (see screenshot below)
4 You will now see the IPv4 DNS Servers and IPv6 DNS Servers addresses used by this network adapter. (see screenshot below)
1 Open the Control Panel (icons view), and click/tap on the Network and Sharing Center icon.
2 In Network and Sharing Center, click/tap on the network connection link next to Connections you want to know the DNS servers it uses. (see screenshot below)
3 Click/tap Details. (see screenshot below)
4 You will now see the IPv4 DNS Servers and IPv6 DNS Servers addresses used by this network connection. (see screenshot below)
1 Open the Control Panel (icons view), and click/tap on the Network and Sharing Center icon.
2 Click/tap on the Change adapter settings link on the left side of the Network and Sharing Center. (see screenshot below)
3 Click/tap on the network adapter (ex: "vEthernet (New Virtual Switch)") you want to know the DNS servers it uses. (see screenshot below)
4 Click/tap Details. (see screenshot below)
5 You will now see the IPv4 DNS Servers and IPv6 DNS Servers addresses used by this network connection. (see screenshot below)

Get-DnsClientServerAddress (DnsClient)
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
docs.microsoft.com
1 Open Windows Terminal, and select Windows PowerShell.
2 Copy and paste the command below into Windows PowerShell, and press Enter. (see screenshot below)
Get-DnsClientServerAddress | Format-Table -AutoSize
3 You will now see the IPv4 DNS Servers and IPv6 DNS Servers addresses used by all available network connections on your device.

ipconfig
Reference article for the ipconfig command, which displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.
docs.microsoft.com
1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.
2 Copy and paste the command below into Windows Terminal, and press Enter. (see screenshot below)
ipconfig /all
3 You will now see the IPv4 DNS Servers and IPv6 DNS Servers addresses used by all available network adapters on your device.
That's it,
Shawn Brink
Last edited: