WhoisX is a powerful WHOIS lookup tool written in C. It is designed to be more reliable and flexible than normal whois tools. If one server fails, WhoisX will automatically switch to another, ensuring you still get results. It can also follow referral servers to provide more accurate information. The tool supports multiple queries at the same time using worker threads, and the output can be shown either in plain text for easy reading or in JSON format for use in scripts and automation.
-
Automatically switches to another server if one fails
-
It includes default global WHOIS servers (IANA, ARIN, RIPE, APNIC, LACNIC, AFRINIC, whois.verisign-grs.com, whois.pir.org, etc.)
-
Selects the appropriate WHOIS server based on the domain type (e.g., .com, .net, .org).
-
Custom connection timeout (default: 7 seconds)
-
Option to follow referral WHOIS servers
-
Multi-threaded for handling multiple queries
-
JSON output support for automation and scripting
- Linux (Debian, RHEL, Arch)
- Termux (Android)
- Clone the repository:
git clone https://github.com/s-r-e-e-r-a-j/WhoisX.git- Navigate to the project directory:
cd WhoisX- Run the installer to setup the system-wide command (Linux & Termux):
sudo bash install.sh| Option | Description |
|---|---|
-S server1,server2,... |
Use custom WHOIS servers (comma-separated) |
-p port |
Set the port (default: 43) |
-t timeout_ms |
Set timeout in milliseconds (default: 7000) |
-r |
Follow referral WHOIS servers |
-j |
Show output in JSON format |
-h |
Show help menu |
whoisx [options] query1 [query2 ...]Lookup a domain
whoisx example.comUse JSON output
whoisx -j github.comFollow referral servers
whoisx -r google.comSet custom servers
whoisx -S whois.verisign-grs.com,whois.pir.org example.orgMultiple queries in one run
whoisx example.com github.com google.comsudo bash uninstall.shThis will remove the whoisx command from your system(Termux & Linux).
This project is licensed under the GNU General Public License v3.0