How install nslookup package in Linux?

How install nslookup package in Linux?

Install nslookup on Linux

  1. Install nslookup for Centos. [vagrant@DevopsRoles ~]$ sudo yum install bind-utils.
  2. Install nslookup for Ubuntu. Use apt-cache search the package for nslookup command.
  3. Conclusion. Thought the article, You have installed nslookup package on Linux System as above.

How do I get nslookup on Linux?

Options of nslookup command:

  1. nslookup google.com :
  2. nslookup 192.168.0.10 : Reverse DNS lookup.
  3. nslookup -type=any google.com : Lookup for any record.
  4. nslookup -type=soa redhat.com : Lookup for an soa record.
  5. nslookup -type=ns google.com : Lookup for an ns record.
  6. nslookup -type=a google.com : Lookup for an a record.

Which yum package contains nslookup?

This tool is part of the bind-utils package in RHEL/CentOS based systems. You can check more about this tool on dig Man Page. nslookup is an open source tool in Linux used for querying Internet Name Servers. This tool is also a part of bind-utils package in RHEL/CentOS based Systems.

How to install nslookup command on CentOS Linux?

In this tutorial, How to install nslookup on Linux. nslookup is part of the bind-utils package. The package bind-utils not yet install on Linux, then you type nslookup command not found on Linux. Install nslookup for Centos [vagrant@DevopsRoles ~]$ sudo yum install bind-utils

How to install nslookup on Linux-devopsroles.com?

In this tutorial, How to install nslookup on Linux. nslookup is part of the bind-utils package. The package bind-utils not yet install on Linux, then you type nslookup command not found on Linux. Use apt-cache search the package for nslookup command. The result found 2 package that is related to nslookup.

Why is nslookup not found in bind utils?

When I went to run the nslookup command to look up an IP address I got the error message nslookup: command not found as shown in the example below. The minimal install likely did not come with the bind-utils package, which I believe contains nslookup.

How to install dig and nslookup in ArchLinux?

For ArchLinux, the command for installing dig and nslookup will be. To check the version of dig installed, run. dig command can be used to query a domain name and retrieve information as shown: The command displays a host of information such as the version of the dig command utility, the DNS server, and its corresponding IP address.