打印

如何查看当前的DNS ?

如何查看当前的DNS ?

恭喜您,您遇上财神了,送给你2庆典金币!
局域网内共享一条 2M 的 ADSL 上网;

客户端的电脑的 IP 获取地址如下;
C:\Users\admin>ipconfig -all
Windows IP Configuration
   Host Name . . . . . . . . . . . . : admin-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Broadcast
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : gateway.2wire.net
Wireless LAN adapter Wireless:
   Connection-specific DNS Suffix  . : gateway.2wire.net
   Description . . . . . . . . . . . : Dell Wireless 1395 WLAN Mini-Card
   Physical Address. . . . . . . . . : 00-1F-E2-C6-B6-51
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::ed7c:8c4b:c732:e6c6%12(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.73(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 2008年9月7日 20:17:58
   Lease Expires . . . . . . . . . . : 2008年9月8日 20:17:57
   Default Gateway . . . . . . . . . : 192.168.1.254
   DHCP Server . . . . . . . . . . . : 192.168.1.254
   DNS Servers . . . . . . . . . . . : 192.168.1.254
   NetBIOS over Tcpip. . . . . . . . : Enabled

需要如何可以查询出来当前使用的 DNS 呢?
其中, NSLOOKUP 后如下:
C:\Users\admin>nslookup
Default Server:  home
Address:  192.168.1.254

> home
Server:  home
Address:  192.168.1.254

Name:    home.gateway.2wire.net
Addresses:  192.168.1.254
          192.168.1.254

> home.gateway.2wire.net
Server:  home
Address:  192.168.1.254

TOP

ipconfig /all


~
如果回避只是为自己今后的后悔而找的借口的话,那么我想挣脱掉这个束缚的枷锁——就算遍体鳞伤我也无怨无悔!愛してる,まうぇんりん.ぽくわ大好き!~
清理qq中的长舌妇,以后有什么P话论坛说,qq中扯皮的人一律删除,qq今后不接待一切问候、闲谈等无聊内容。成功为qq瘦身,肩负100人,其中10人拉黑。

TOP

ding

学习中,好贴!

TOP

恭喜您,您遇上财神了,送给你1庆典金币!
引用:
原帖由 grjboy30 于 2008-9-8 11:35 发表
ipconfig /all


~
如你所说,你能告诉我,我当前的 DNS 是多少? 我指的是 internet 上的 DNS 哦, 不是内部局域网的 DNS.

C:\Users\admin>ipconfig -all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : admin-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Broadcast
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : gateway.2wire.net

Wireless LAN adapter Wireless:

   Connection-specific DNS Suffix  . : gateway.2wire.net
   Description . . . . . . . . . . . : Dell Wireless 1395 WLAN Mini-Card
   Physical Address. . . . . . . . . : 00-1F-E2-C6-B6-51
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::ed7c:8c4b:c732:e6c6%12(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.73(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 2008年9月7日 20:17:58
   Lease Expires . . . . . . . . . . : 2008年9月8日 20:17:57
   Default Gateway . . . . . . . . . : 192.168.1.254
   DHCP Server . . . . . . . . . . . : 192.168.1.254
   DNS Servers . . . . . . . . . . . : 192.168.1.254
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Net:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom 590x 10/100 Ethernet
   Physical Address. . . . . . . . . : 00-21-9B-DC-FB-CC
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 6:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : isatap.{5398A8D1-067E-4B37-B7A6-2CA210578
21B}
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 7:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : gateway.2wire.net
   Description . . . . . . . . . . . : isatap.gateway.2wire.net
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 11:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 02-00-54-55-4E-01
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e50:3848:fe6:3f57:feb6(Prefe
rred)
   Link-local IPv6 Address . . . . . : fe80::3848:fe6:3f57:feb6%14(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled

C:\Users\admin>

TOP

恭喜您,您遇上财神了,送给你10庆典金币!
学习一下,谢谢

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-12-2 16:52 京ICP证060528 号

Designed By 17DST