怎么查找首选DNS服务器

查找首选DNS服务器的方法如下:

怎么查找首选DNS服务器
(图片来源网络,侵删)

1、打开命令提示符(Windows)或终端(Mac/Linux):

Windows:按下Win + R键,输入"cmd",然后按下Enter键。

Mac:打开应用程序文件夹,找到"实用工具"文件夹,双击打开"终端"。

Linux:根据所使用的Linux发行版,可以在菜单中找到终端应用程序。

2、在命令提示符或终端中输入以下命令并按下Enter键:

Windows:ipconfig /all

Mac/Linux:ifconfig

3、在输出结果中查找首选DNS服务器信息,以下是一些常见的输出示例:

Windows:

“`

Ethernet adapter 以太网适配器:

Connectionspecific DNS Suffix . : example.com

Description . . . . . . . . . . . : Realtek PCIe GbE Family Controller

Physical Address. . . . . . . . . : XXXXXXXXXXXXXXXXXXXX

DHCP Enabled. . . . . . . . . . . : Yes

IPv4 Address. . . . . . . . . . . : 192.168.1.100

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 192.168.1.1

DNS Servers . . . . . . . . . . . : fe80::1%lo0, fe80::2%lo0, fe80::3%lo0, fe80::4%lo0, fe80::5%lo0, fe80::6%lo0, fe80::7%lo0, fe80::8%lo0, fe80::9%lo0, fe80::a%lo0, fe80::b%lo0, fe80::c%lo0, fe80::d%lo0, fe80::e%lo0, fe80::f%lo0, fe80::1%lo0, fe80::2%lo0, fe80::3%lo0, fe80::4%lo0, fe80::5%lo0, fe80::6%lo0, fe80::7%lo0, fe80::8%lo0, fe80::9%lo0, fe80::a%lo0, fe80::b%lo0, fe80::c%lo0, fe80::d%lo0, fe80::e%lo0, fe80::f%lo0

“`

Mac/Linux:

“`

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

inet6 fe80::21c:29ff:fe9f:d3a6%enp2s0 permanent (Preferred)

inet6 fe80::21c:29ff:fe9f:d3a7%enp2s0 temporary (Preferred)

inet6 fe80::21c:29ff:fe9f:d3a6%enp2s0 prefaddr permanent (Preferred)

inet6 fe80::21c:29ff:fe9f:d3a7%enp2s0 prefaddr temporary (Preferred)

inet6 fe80::21c:29ff:fe9f:d3a6%enp2s0 valid_lft forever preferred_lft forever

inet6 fe80::21c:29ff:fe9f:d3a7%enp2s0 valid_lft forever preferred_lft forever

inet6 fe80::21c:29ff:fe9f:d3a6%enp2s0 preferred_lft forever

inet6 fe80::21c:29ff:fe9f:d3a7%enp2s0 preferred_lft forever

inet6 fe80::21c:29ff:fe9f:d3a6%enp2s0 active yes valid_lft forever preferred_lft forever

inet6 fe80::21c:29ff:fe9f:d3a7%enp2s0 active yes valid_lft forever preferred_lft forever

inet6 fe80::21c:29ff:fe9f:d3a6%enp2s0 source specific (Temporary) destination specific (Temporary) multicast address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group address not joined group adr

原创文章,作者:未希,如若转载,请注明出处:https://www.kdun.com/ask/582739.html

本网站发布或转载的文章及图片均来自网络,其原创性以及文中表达的观点和判断不代表本网站。如有问题,请联系客服处理。

(0)
未希新媒体运营
上一篇 2024-05-07 22:32
下一篇 2024-05-07 22:34

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

产品购买 QQ咨询 微信咨询 SEO优化
分享本页
返回顶部
云产品限时秒杀。精选云产品高防服务器,20M大带宽限量抢购 >>点击进入