Home »
Articles
Whois command for gathering information about domains
whois command: Here, we are going to learn about the whois command that can be used to gather/get the information about the domains.
Submitted by Kamakshi, on March 24, 2019
whois
Whois is used for Internet record listing that identifies who owns a domain and how to get in contact with domains?
Description
whois searches for an object in a WHOIS database.It is a query and response protocol that is widely used for querying databases that store the registered users of an internet resource, such as domain name and IP address, domain details.
Command for install WHOIS server
Command:
sudo apt install whois
It installs whois in your system.
Command for getting information about the website using domain name
In the below given example, we are getting the domain name information about the facebook.
Command:
whois facebook.com
Using this command we getting all information about the websites for good purpose. We know all the information for the exam. date of website creation, updated date of the website, registered id etc.
Command for getting information about the website using IP address
We also get important information using an IP address of the website, for example, website source,website country name like IN, the address of the domain,email-id, official phone number of the domain, last modified website date and creating date etc...
In this below example, we are getting the information about an ip (example): 182.71.233.70
Command:
whois 182.71.233.70