nslookup: command not found error on DebianPosted in Linux/Unix/BSD -
If you need to use nslookup on a Debian server and you're getting an "nslookup: command not found" then use apt-get to install dnsutils.
You'll know if dnsutils & nslookup are not installed if you try a dns lookup and get this error:
$ nslookup www.example.com -bash: nslookup: command not found
Install the dnsutils package to resolve the error and lookup the domain:
$ apt-get install dnsutils
And now it works
$ nslookup www.example.com Server: 22.214.171.124 Address: 126.96.36.199#53 Non-authoritative answer: Name: www.example.com Address: 188.8.131.52