Windows命令将计算机名称转换为IP地址,反之亦然的命令是什么?


Answers:


72

机器名称为“ accounting”且ip为“ 192.168.1.95”的机器

IP->机器名称:

tracert 192.168.1.95

要么

NBTSTAT  -a 192.168.1.95

机器名称-> IP

nslookup accounting

要么

ping accounting

1
ping -a也可以用于将IP转换为主机名
phuclv

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.