XP下的CMD用哪个命令可以查到域名的IP地址?
来源:百度知道 编辑:UC知道 时间:2024/05/17 11:03:01
XP下的CMD用哪个命令可以查到域名的IP地址?
比如你要查新浪的ip地址:
进入CMD后
输入:ping www.sina.com.cn
即有输出
C:\Documents and Settings\supersoft>ping www.sina.com.cn
Pinging taurus.sina.com.cn [61.172.201.228] with 32 bytes of data:
Reply from 61.172.201.228: bytes=32 time=5ms TTL=56
Reply from 61.172.201.228: bytes=32 time=5ms TTL=56
Reply from 61.172.201.228: bytes=32 time=5ms TTL=56
Reply from 61.172.201.228: bytes=32 time=5ms TTL=56
Ping statistics for 61.172.201.228:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 5ms, Maximum = 5ms, Average = 5ms
61.172.201.228为新浪ip地址
ipconfig/all
可以使用ping命令来完成
ping命令是用来校验与远程计算机或本地计算机的连接。只有在安装 TCP/IP 协议之后才能使用该命令。
ping [-t] [-a] [-n count] [-l le