How to install NSLOOKUP in CENTOS 6.X

Source: Internet
Author: User
Tags bind ftp centos name server lookup nslookup nslookup command

Nslookup (name server lookup): a tool used to query Internet domain name information or diagnose DNS server problems. Let's take a look at the installation method. CentOS 6.xis installed in the new VPS, and the nslookup command is not installed by default. However, it is impossible to directly use yum install nslookup because nslookup is not an independent package.

In this case, you need to use yum whatprovides to check which installation package of nslookup is in.

Yum whatprovides */nslookup
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Base: ftp.hosteurope.de
* Epel: ftp.cuhk.edu.hk
* Extras: ftp.hosteurope.de
* Remi: pai.innosol.asia
* Remi-php70: developer.innosol.asia
* Remi-safe: 2.16.innosol.asia
* Updates: ftp.hosteurope.de
Zsh-4.3.11-4.el6.centos.x86_64: A powerful interactive shell
Repo: base
Matched from:

Filename:/usr/share/zsh/4.3.11/functions/nslookup
 
 
Bind-utils-9.8.2-0.37.rc1.el6.x86_64: Utilities for querying DNS name servers
Repo: base
Matched from:
Filename:/usr/bin/nslookup

As shown above, the nslookup file is found in both the zsh and bind-utils packages. Obviously, we want to install bind-utils.

Yum install bind-utils

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.