nslookup is a command commonly used to query the resolution of the local domain name, but some Linux systems do not have this command by default. We can make this command work by installing a package that also includes the dig command.
Ubuntu:
# sudo apt-get install dnsutils
Debian:
# apt-get update
# apt-get install dnsutils
Fedora / Centos:
# yum install bind-utils
perfer:http://www.71j.cn/archives/115
+
+
+
=
+
+
+