根据ip查找主机名

来源:互联网 发布:php求职宝典 pdf 下载 编辑:程序博客网 时间:2024/05/18 01:55

[root@centos ~]# nslookup 8.8.8.8Server:         8.8.8.8Address:        8.8.8.8#53Non-authoritative answer:8.8.8.8.in-addr.arpa    name = google-public-dns-a.google.com.Authoritative answers can be found from:

windows上也可以

C:\Windows\system32>nslookup 8.8.8.8
服务器:  google-public-dns-b.google.com
Address:  8.8.4.4

名称:    google-public-dns-a.google.com
Address:  8.8.8.8