Linux whois Guide - ryzendew/Linux-Tips-and-Tricks GitHub Wiki
Linux whois Guide
Complete beginner-friendly guide to whois on Linux, covering Arch Linux, CachyOS, and other distributions including domain information, IP lookups, and network queries.
Table of Contents
whois Installation
Install whois
Arch/CachyOS:
# Install whois
sudo pacman -S whois
Debian/Ubuntu:
sudo apt install whois
Fedora:
sudo dnf install whois
whois Basics
Query Domain
Basic usage:
# Query domain
whois example.com
# Shows domain registration information
IP Address
IP lookup:
# Query IP address
whois 8.8.8.8
# Shows IP address information
Domain Queries
Domain Information
Registration details:
# Domain information
whois example.com
# Shows:
# - Registrar
# - Registration date
# - Expiration date
# - Name servers
# - Contact information
Specific Server
Use server:
# Use specific whois server
whois -h whois.example.com example.com
# -h = host (specific whois server)
IP Queries
IP Information
IP details:
# IP address information
whois 8.8.8.8
# Shows:
# - IP range
# - Organization
# - Country
# - Network information
IPv6
IPv6 lookup:
# IPv6 address
whois 2001:4860:4860::8888
# Shows IPv6 information
Troubleshooting
whois Not Found
Check installation:
# Check whois
which whois
# Install if missing
sudo pacman -S whois
Summary
This guide covered whois usage, domain information, and IP lookups for Arch Linux, CachyOS, and other distributions.
Next Steps
- dig Guide - DNS queries
- host Guide - DNS lookups
- Network Utilities - Network tools
- whois Documentation:
man whois
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.