How do I install whois client to see whois information about domain and ip address using command line options under Fedora / RHEL / Redhat / CentOS / Scientific Linux?
jwhois is a whois client that accepts both traditional and finger-style queries under RHEL. You can install the same using the yum command. Login as root and type the following command to install the jwhois client:
# yum -y install jwhois
Sample outputs:
Loaded plugins: priorities, rhnplugin 70 packages excluded due to repository priority protections Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package jwhois.x86_64 0:4.0-18.el6 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: jwhois x86_64 4.0-18.el6 rhel-x86_64-server-6 104 k Transaction Summary ================================================================================ Install 1 Package(s) Upgrade 0 Package(s) Total download size: 104 k Installed size: 0 Downloading Packages: jwhois-4.0-18.el6.x86_64.rpm | 104 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : jwhois-4.0-18.el6.x86_64 1/1 Installed: jwhois.x86_64 0:4.0-18.el6 Complete!
You can use the whois command as follows:
$ whois cyberciti.biz
$ whois 75.126.153.206
Sample outputs:
[Querying whois.arin.net] [Redirected to rwhois.softlayer.com:4321] [Querying rwhois.softlayer.com] [rwhois.softlayer.com] %rwhois V-1.5:003fff:00 rwhois.softlayer.com (by Network Solutions, Inc. V-1.5.9.5) network:Class-Name:network network:ID:NETBLK-SOFTLAYER.75.126.128.0/19 network:Auth-Area:75.126.128.0/19 network:Network-Name:SOFTLAYER-75.126.128.0 network:IP-Network:75.126.153.200/29 network:IP-Network-Block:75.126.153.200-75.126.153.207 network:Organization;I:SoftLayer Technologies, Inc. network:Street-Address:1950 Stemmons Freeway Suite 2043 network:City:Dallas network:State:TX network:Postal-Code:75207 network:Country-Code:US network:Tech-Contact;I:sysadmins@softlayer.com network:Abuse-Contact;I:abuse@softlayer.com network:Admin-Contact;I:IPADM258-ARIN network:Created:20070218 network:Updated:20091220 network:Updated-By:ipadmin@softlayer.com %referral rwhois://root.rwhois.net:4321/auth-area=. %ok
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop













{ 2 comments… read them below or add one }
I already installed jwhois but the output is always
[root@mo ~]# whois 67.xxx.xx.xxx
[Querying whois.arin.net]
[Unable to connect to remote host]
How do I fix this? Is there a port that I need to allow in my firewall?
I know the question above is old, but you need to have TCP port 43 open. You may also need to open up ports for referral whois (rwhois), which is usually TCP port 4321.