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: mirror.intergrid.com.au
 * epel: sjc.edge.kernel.org
 * extras: centos.mirror.serversaustralia.com.au
 * ius: ius.mirror.digitalpacific.com.au
 * updates: centos.mirror.serversaustralia.com.au
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
==============================================================================
Installing:
 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
Installed:
  whois.x86_64 0:5.1.1-2.el7
Complete!
Now you should be able to use commands 
[root@sangv ~]# whois google.com
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
dasdasd
[root@sangv ~]# dig a google.com
[root@sangv ~]# dig mx google.com
[root@sangv ~]# dig ns google.com












sangv. Info