Install whois CentOS / Ubuntu

jwhois is a whois client that accepts both traditional and finger-style queries. You can install the same using yum in Centos and apt-get in Ubuntu systems

Centos  :

yum -y install jwhois

Ubuntu

sudo apt-get install jwhois

 

In Centos/ Redhat systems you can run the command whois

# whois ajayadas.com
[Querying whois.verisign-grs.com]
[Redirected to whois.godaddy.com]
[Querying whois.godaddy.com]
[whois.godaddy.com]
Domain Name: AJAYADAS.COM
Registry Domain ID: 1545424198_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.godaddy.com
Registrar URL: http://www.godaddy.com
Update Date: 2013-05-12T10:55:01Z
Creation Date: 2009-03-04T22:04:18Z
Registrar Registration Expiration Date: 2017-03-04T22:04:18Z
Registrar: GoDaddy.com, LLC
Registrar IANA ID: 146

 

But in Ubuntu based systems you have to run jwhois

$ jwhois ajayadas.com