WHOIS is a type of TCP protocol which is based on request or response that is used to perform certain queries in a database that allows people determine the owner of a particular domain name or an IP address on the Internet. WHOIS queries have normally been done using the command line interface, but now there are lots of web pages that allow people to get this information. But these pages are still internally dependent on the WHOIS protocol to connect to a WHOIS server and make requests. Command-line clients are still widely used by system administrators.
This information is useful, for example, to know the data of the owners of a domain or information about the company of a certain web page. We can also know, for example, if the domain is registered or available to buy.
There are many web pages that allow us to easily obtain information about a domain, however to access them we need a web browser. We always look for the easiest, fastest and easiest way to do things, and that is why in this article we are going to talk about WhoisCL and WhoisThisDomain.
How to run whois command-line (CL)
Whois on Linux
Log in to the server. If you want to execute the command from the web server, you must first log in at the command prompt of that server. Not all Internet servers allow shell access to the system. Search SSH, or Secure Shell. This will give you a command prompt to write your orders. If you have Linux on your computer, you can open the command prompt on the computer. Each version of Linux opens the command prompt in a different way. If you want to run this one from the Windows command interpreter, see Section 2: Run Whois on Windows.
Type "whois -H ", where is the domain name you want to search. "-H" tells the whois command to hide the extra copyright information. The -H must be in uppercase. This will show you the important details for the domain name. You can leave out the -H to show the complete search, including the legal note.
There are other parameters that you can use from the command line, however, the others are not often used. If you want to see what parameters are available, type "whois" without any modifier or look at the manual page that appears in the references section.
Read the results. These will be displayed at the command prompt. You will find several contacts. It will include an administrative contact, a technical contact, and other times the contact names. You can also see the IP address of the domain in which it is located, the name servers they use, and their status.
Some domains have "private" contact information. This means that the web server has put your information in the contact information section. If you want to communicate with the owner of the real domain, you will have to do it through the server.
Use the -h option to choose a different server. If the -h parameter is not used, whois.networksolutions.com will search for domain names and IP addresses for whois.arin.net. If you want to search for a different server, specify after the -h, this way: "whois-h whois.nic.mil whitehouse.gov"
Run Whois on Windows
Download and install the Whois software. Windows does not come with this one by default. You can download it from Microsoft Technet. Find it in the Resources section.
Open a command prompt Click on "Start", "Run" and type "cmd" or "command".
Type "whois " where is the domain you want to search. This Whois command does not have the modifiers that are available from the Whois Linux command.
How to run whoisDomain
When we want to check the registration data of a certain web page we usually go to our conventional search engine (for example Google) and search several websites that allow us to make a "WhoIS" of a domain or an IP to know more information about its registration. There are also some specific applications for this function that allow us to control one or more domains at the same time, as in the case of WhoisThisDomain.
WhoisThisDomain is a free tool developed by Nirsoft that will allow us to easily obtain all types of information regarding the registration of a certain domain. This tool will automatically connect to the corresponding WhoIS server, analyze all the URLs that we provide and return the information corresponding to the domains in the same window.
The first thing we must do is download this tool from its main website . The only requirements that the tool asks us are a Windows 7 operating system or higher, an active Internet connection and access through port 43 of our firewall.
We can download the tool in "installer" or " portable " format . In our case we have downloaded the portable version that, once downloaded, we unzip it and execute it without having to install anything else in the system. Once we execute it, we can create a first window where we must enter all the domains that we want to analyze, separated by commas.
Once entered, we accept the window and it will load the main window of the program. As we can see, a list will appear with all the domains that we have entered, in our case, with the one of Google, and the state of the same (green means that the domain works correctly).
If we select it in the lower part we can see all the information referring to that domain.
As we can see, a tool of the simplest that will allow us to always have on hand the Whois information of any domain without depending on it from different web pages.