相当于host hostname
来自Linux在 Windows 中?
对于指出如何在 Windows 中更改主机名的人,这并不是要更改计算机的主机名,我的意思是:
$ host google.com
google.com has address 74.125.236.72
google.com has address 74.125.236.78
google.com has address 74.125.236.73
google.com has address 74.125.236.71
google.com has address 74.125.236.65
google.com has address 74.125.236.69
google.com has address 74.125.236.66
google.com has address 74.125.236.64
google.com has address 74.125.236.67
google.com has address 74.125.236.68
google.com has address 74.125.236.70
google.com has IPv6 address 2404:6800:4007:801::1004
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
google.com mail is handled by 50 alt4.aspmx.l.google.com.
有关此 Linux 命令的更多信息这里。
答案1
该命令nslookup
应该提供一些等效信息。
nslookup www.google.com
Server: ns.myorganization.lan
Address: 192.168.0.1
Non-authoritative answer:
Name: www.google.com
Addresses: 2001:4860:400b:c01::6a
204.239.67.98
204.239.67.102
204.239.67.106
204.239.67.108
204.239.67.109
204.239.67.113
204.239.67.117
204.239.67.121
204.239.67.123
204.239.67.79
204.239.67.83
204.239.67.87
204.239.67.91
204.239.67.93
204.239.67.94
答案2
绑定名称服务器包含主机和挖掘实用程序,可用于 Windows。
答案3
http://www.softpedia.com/get/Network-Tools/Misc-Networking-Tools/Host.shtml
Windows 的主机命令。
当有人需要知道 IP 的主机名时它会有所帮助。