你知道如何找到你的DNS服务器的 IP 地址吗?你想学习如何做到这一点吗?如果您是Windows 10用户,您可以通过多种方法找到您的计算机或设备(computer or device)正在使用的DNS服务器的地址。您可以在设置(Settings)应用程序中、在PowerShell中运行命令后以及通过其他方式找到此信息。有关此主题的更多详细信息,请阅读本教程:
注意:(NOTE:)如果您不知道DNS服务器是什么,您可能需要先阅读这篇文章:什么是DNS?它有(How)什么用处?如果您在寻找更改DNS服务器的方法时来到这里,您可以在此处找到说明:在Windows 10中更改(Windows 10)DNS设置的3 种方法。
1.使用“设置”应用(Settings app)查找您的DNS
在Windows 10中,找出您的DNS的最简单、最直接的方法之一是在“设置”(Settings)应用中检查您的网络适配器信息。(network adapter information)从打开设置开始(Start):一种快速的方法是从“开始”菜单(Start Menu)中单击或点击其按钮。
在“设置”(Settings)应用中,打开“网络和 Internet(Network & Internet) ”类别。
在窗口的左侧,选择要查找您正在使用的DNS的(DNS)网络连接。(network connection)如果您使用有线网络连接(network connection),则应选择以太网(Ethernet)。否则,如果您使用的是无线网络连接(wireless network connection),请转至Wi-Fi。
现在,在窗口的右侧,单击或点击您的网络连接(network connection)。
这将打开一个页面,显示您的网络连接(network connection)的详细信息。向下滚动(Scroll)直到到达页面底部。
在“属性(Properties)”区域中,查看显示的信息(information displayed),您应该会找到 DNS 的详细信息:IPv4 DNS 服务器(IPv4 DNS server)地址和IPv6 DNS 服务器(IPv6 DNS server)地址。
2.从“网络连接”窗口中找到您的(Network Connections window)DNS
“网络连接(Network Connections)”窗口为您提供了另一种在Windows 10中查找(Windows 10)DNS详细信息的方法。首先(First),打开设置应用程序(Settings app)并转到网络和 Internet(Network & Internet)。
在默认选择的状态(Status)页面上,单击或点击(click or tap)更改适配器选项(Change adapter options)。
这将打开“网络连接(Network Connections)”窗口。在其中,双击或双击要查找其DNS设置的网络适配器。(network adapter)
在我们的例子中,这将是Wi-Fi 网络适配器(network adapter),如下所示。
上一个操作会打开另一个窗口,显示所选网络适配器的(network adapter)状态(Status)。在其上,单击或点击“连接(Connection)”区域中的“详细信息(Details)”按钮。
在“网络连接详细信息(Network Connection Details)”窗口中,您可以找到您的 Windows 10计算机或设备(computer or device)正在使用的DNS服务器。(DNS)它们列在IPv4 DNS Server和IPv6 DNS Server旁边。
3.使用网络和共享中心找到您的(Network and Sharing Center)DNS
另一种查找DNS服务器 IP 地址的方法是通过网络和共享中心(Network and Sharing Center)。打开它,然后单击或点击用于连接到 Internet的网络适配器。(network adapter)例如,在我们的例子中,这将是Wi-Fi适配器。
这将打开我们在本文上一节中向您展示的相同状态窗口。(Status)单击(Click)或点击详细信息(Details)按钮。
除其他详细信息外,“网络连接详细信息(Network Connection Details)”窗口在名为IPv4 DNS Server和IPv6 DNS Server的文本行中显示Windows 10计算机或设备使用的(computer or device)DNS服务器。
4.通过在PowerShell 或命令提示符(PowerShell or Command Prompt)中运行ipconfig 命令找到您的(ipconfig command)DNS
我们有一种稍快的方法来找出您在 Windows 10计算机或设备上使用的(computer or device)DNS服务器。打开命令提示符或 PowerShell(Command Prompt or PowerShell)。在您喜欢的命令行环境(command line environment)中,键入ipconfig /all并按键盘上的Enter 。
然后,查看显示的信息(information displayed),您应该会找到所有网络适配器使用的IPv4 和 IPv6 DNS 服务器。(IPv4 and IPv6 DNS servers)
5.通过在PowerShell中运行Get-DnsClientServerAddress找到您的(Get-DnsClientServerAddress)DNS
最后, PowerShell(PowerShell)提供了在Windows 10中查找(Windows 10)DNS服务器的最快方法。打开它,输入Get-DnsClientServerAddress,然后按键盘上的Enter 。此命令会立即向您显示所有网络适配器(IPv4 和 IPv6 DNS 服务器(IPv4 and IPv6 DNS servers))(DNS)使用的所有 DNS 服务器。
而已!
您最喜欢的查找 DNS 服务器的方式是什么?
现在您知道的不是一两种,而是五种不同的方法来找出您的主DNS服务器的 IP 地址。你最喜欢哪(Which)一个?你知道我们可能错过的其他人吗?不要犹豫,在下面发表评论,让我们知道。
What is my DNS? 5 ways to find out, in Windows 10
Do уou know how to find the IP addresses of your DNS servers? Would you like to learn how to do that? If you are a Windows 10 user, there are many methods in which you cаn find the addreѕses of the DNS sеrvers that your computer or device is using. You cаn fіnd this information in the Settings app, after running a command in PowerShell, and by other means. For more details on this subject, read this tutorial:
NOTE: If you don't know what DNS servers are, you might want to read this article first: What is DNS? How is it useful? If you got here while looking for ways to change your DNS servers, you can find instructions here: 3 ways to change the DNS settings in Windows 10.
1. Find your DNS using the Settings app
In Windows 10, one of the easiest and most straightforward ways to find out what's your DNS is to check your network adapter information in the Settings app. Start by opening Settings: a fast way to do it is to click or tap on its button from the Start Menu.
In the Settings app, open the Network & Internet category.
On the left side of the window, select the network connection for which you want to find the DNS that you're using. If you're using a wired network connection, you should select Ethernet. Otherwise, if you're using a wireless network connection, go to Wi-Fi.
Now, on the right side of the window, click or tap on your network connection.
This opens a page that shows the details of your network connection. Scroll down until you reach the bottom of the page.
In the Properties area, look through the information displayed, and you should find the details of your DNS: both the IPv4 DNS server address and the IPv6 DNS server address.
2. Find your DNS from the Network Connections window
The Network Connections window offers you another way to find the details of your DNS in Windows 10. First, open the Settings app and go to Network & Internet.
On the Status page, which is selected by default, click or tap on Change adapter options.
This opens the Network Connections window. Inside it, double-click or double-tap on the network adapter for which you want to find the DNS settings.
In our case, that would be the Wi-Fi network adapter, highlighted below.
The previous action opens another window that shows you the Status of the selected network adapter. On it, click or tap on the Details button from the Connection area.
In the Network Connection Details window, you can find which DNS servers your Windows 10 computer or device is using. They are listed next to IPv4 DNS Server and IPv6 DNS Server.
3. Find your DNS using the Network and Sharing Center
Another way to find IP addresses of your DNS servers is via the Network and Sharing Center. Open it and then click or tap on the network adapter you use for connecting to the internet. In our case, for example, that would be the Wi-Fi adapter.
This opens the same Status window that we've shown you in the previous section of this article. Click or tap on the Details button.
Among other details, the Network Connection Details window shows you the DNS servers used by your Windows 10 computer or device in the text lines called IPv4 DNS Server and IPv6 DNS Server.
4. Find your DNS by running the ipconfig command in PowerShell or Command Prompt
We have a slightly faster way of finding out which DNS servers you use on your Windows 10 computer or device. Open the Command Prompt or PowerShell. In the command line environment that you prefer, type ipconfig /all and press Enter on your keyboard.
Then, look through the information displayed, and you should find both the IPv4 and IPv6 DNS servers used by all your network adapters.
5. Find your DNS by running Get-DnsClientServerAddress in PowerShell
In the end, probably the fastest way to find your DNS servers in Windows 10 is offered by PowerShell. Open it, type in Get-DnsClientServerAddress, and press Enter on your keyboard. This command instantly shows you all the DNS servers used by all your network adapters (both IPv4 and IPv6 DNS servers).
That's it!
What's your favorite way of finding your DNS servers?
Now you know not one or two, but five different methods of finding out the IP addresses of your primary DNS servers. Which is your preferred one? Do you know others that we might have missed? Don't hesitate to leave a comment below and let us know.