2016년 4월 15일 금요일

[CentOS 7.x] how to install nslookup via yum

[CentOS 7.x] how to install nslookup via yum



[root@conoha ~]# nslookup itrooms.blogspot.com
-bash: nslookup: command not found
[root@conoha ~]# yum -y install bind-utils
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: www.ftp.ne.jp
 * epel: ftp.kddilabs.jp
 * epel-debuginfo: ftp.kddilabs.jp
 * epel-source: ftp.kddilabs.jp
 * extras: www.ftp.ne.jp
 * ius: ius.mirror.constant.com
 * updates: www.ftp.ne.jp
Resolving Dependencies
--> Running transaction check
---> Package bind-utils.x86_64 32:9.9.4-29.el7_2.3 will be installed
--> Processing Dependency: bind-libs = 32:9.9.4-29.el7_2.3 for package: 32:bind-utils-9.9.4-29.el7_2.3.x86_64
--> Processing Dependency: liblwres.so.90()(64bit) for package: 32:bind-utils-9.9.4-29.el7_2.3.x86_64
--> Processing Dependency: libisccfg.so.90()(64bit) for package: 32:bind-utils-9.9.4-29.el7_2.3.x86_64
--> Processing Dependency: libisccc.so.90()(64bit) for package: 32:bind-utils-9.9.4-29.el7_2.3.x86_64
--> Processing Dependency: libisc.so.95()(64bit) for package: 32:bind-utils-9.9.4-29.el7_2.3.x86_64
--> Processing Dependency: libdns.so.100()(64bit) for package: 32:bind-utils-9.9.4-29.el7_2.3.x86_64
--> Processing Dependency: libbind9.so.90()(64bit) for package: 32:bind-utils-9.9.4-29.el7_2.3.x86_64
--> Running transaction check
---> Package bind-libs.x86_64 32:9.9.4-29.el7_2.3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch         Version                      Repository     Size
================================================================================
Installing:
 bind-utils       x86_64       32:9.9.4-29.el7_2.3          updates       200 k
Installing for dependencies:
 bind-libs        x86_64       32:9.9.4-29.el7_2.3          updates       1.0 M

Transaction Summary
================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 1.2 M
Installed size: 3.0 M
Downloading packages:
(1/2): bind-libs-9.9.4-29.el7_2.3.x86_64.rpm               | 1.0 MB   00:00
(2/2): bind-utils-9.9.4-29.el7_2.3.x86_64.rpm              | 200 kB   00:00
--------------------------------------------------------------------------------
Total                                              9.3 MB/s | 1.2 MB  00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 32:bind-libs-9.9.4-29.el7_2.3.x86_64                         1/2
  Installing : 32:bind-utils-9.9.4-29.el7_2.3.x86_64                        2/2
  Verifying  : 32:bind-utils-9.9.4-29.el7_2.3.x86_64                        1/2
  Verifying  : 32:bind-libs-9.9.4-29.el7_2.3.x86_64                         2/2

Installed:
  bind-utils.x86_64 32:9.9.4-29.el7_2.3

Dependency Installed:
  bind-libs.x86_64 32:9.9.4-29.el7_2.3

Complete!