HowTo: Debian/Ubuntu – nslookup Not Found
You need to install the dnsutils package. The Berkeley Internet Name Domain (BIND) implements an Internet domain name server. BIND is the most widely-used name server software on the Internet, and is supported by the Internet Software Consortium, www.isc.org. This package delivers various client programs related to DNS that are derived from the BIND source tree.
- dig – query the DNS in various ways
- nslookup – the older way to do it
- nsupdate – perform dynamic updates (See RFC2136)
Login as root user and type the following commands:
apt-get install dnsutils
Now you should be able to use dig, host and other tools.
; <<>> DiG 9.9.2-P1 <<>> www.google.com
;; global options: +cmd
;; Got answer: