In this tutorial, How to install
Install nslookup on Linux
Install nslookup for Centos
[vagrant@DevopsRoles ~]$ sudo yum install bind-utils
Install nslookup for Ubuntu
Use apt-cache to search the package for nslookup command.
[vagrant@DevopsRoles ~]$ apt-cache search nslookup
The result found 2 package that is related to nslookup.
dnsutils - Clients provided with BIND
libnet-nslookup-perl - simple DNS lookup module for perl
so install nslookup
[vagrant@DevopsRoles ~]$ sudo apt-get install dnsutils
Now you have to use nslookup command
[vagrant@DevopsRoles ~]$ nslookup x.x.x.x
Conclusion
Through the article, You have to install nslookup package on Linux System as above. I hope will this your helpful. Thank you for reading the DevopsRoles page!
Thanks, this was very helpful.
you’re welcome! 😀