查计算机名问题

来源:百度知道 编辑:UC知道 时间:2024/05/23 12:16:52
已知IP地址怎么查询哪台机子用了啊,请高人指点

最简单的方法:
点击开始,运行 ,在运行栏里输入 ping -a ip地址 -t,就可以收到对方的hostname(主机名)了。 在下面例子理 XXXXXXXX 就是 对方的主机名
C:\>ping -a 169.254.27.37

Pinging XXXXXXXXX [169.254.27.37] with 32 bytes of data:

Reply from 169.254.27.37: bytes=32 time<1ms TTL=128
Reply from 169.254.27.37: bytes=32 time<1ms TTL=128
Reply from 169.254.27.37: bytes=32 time<1ms TTL=128
Reply from 169.254.27.37: bytes=32 time<1ms TTL=128

百度的主机名就是下面的 www.a.shifen.com

C:\>ping -a www.baidu.com

Pinging www.a.shifen.com [220.181.37.55] with 32 bytes of data:

Reply from 220.181.37.55: bytes=32 time=119ms TTL=52
Reply from 220.181.37.55: bytes=32 time=263ms TTL=52
Reply from 220.181.37.55: bytes