How to install whois / dig tool for Linux

Posted in Linux Jun 01, 2018

This is  quick tut to insall whois command 

[root@sangv ~]# yum install whois -y 

THis is how its gona lool 

[root@sangv ~]# yum install whois -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * ius:
 * updates:
Resolving Dependencies
--> Running transaction check
---> Package whois.x86_64 0:5.1.1-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
 Package         Arch             Version                Repository      Size
 whois           x86_64           5.1.1-2.el7            base            72 k
Transaction Summary
Install  1 Package
Total download size: 72 k
Installed size: 222 k
Downloading packages:
whois-5.1.1-2.el7.x86_64.rpm                             |  72 kB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : whois-5.1.1-2.el7.x86_64                                   1/1
  Verifying  : whois-5.1.1-2.el7.x86_64                                   1/1
  whois.x86_64 0:5.1.1-2.el7
Now you should be able to use commands 
[root@sangv ~]# whois
And give this output for the tool.

This is another tool called dig , this is a tool , that is used to find the DNS records 

[root@sangv ~]# yum install bind-utils -y
[root@sangv ~]# dig a
[root@sangv ~]# dig mx
[root@sangv ~]# dig ns

sangv. Info