How to Install whois on Ubuntu 22.04

WHOIS is a TCP-based query and response protocol that is commonly used to provide information services to Internet users. It returns information about the registered Domain Names, an IP address block, Name Servers and a much wider range of information services.

In this tutorial, i am going to show you how to install and use whois on Linux ubuntu 22.04 using a terminal or command line.

How to Install whois on Ubuntu 22.04

Use the following steps to install and use whois on Linux ubuntu 22.04 system:

  • Step 1 – Update System Dependencies
  • Step 2 – Install Whois
  • Step 3 – Verify Whois
  • Step 4 – Use whois with Domain
  • Step 5 – Use whois with IP Address

Step 1 – Update System Dependencies

First of all, open the terminal or command line and run the following command on the command line to update system dependencies:

sudo apt update

Step 2 – Install Whois

Then run the following command on the command line or terminal to install whois on Linux ubuntu system:

sudo apt-get install whois

Step 3 – Verify Whois

Run the following command to verify the version of whois on Linux ubuntu system:

whois –version

Step 4 – Use whois with Domain

Run the following command with domain to check domain details using whois:

whois google.com

Step 5 – Use whois with IP Address

Run the following command with IP address to check ip address details using whois:

whois 104.21.48.234

Conclusion

Through this tutorial, i have shown to you how to install and use whois on Linux ubuntu 22.04 using a terminal or command line.

Be First to Comment

Leave a Reply

Your email address will not be published.