Terminal Dojo
Help العربية Sign inGet started

Command library / whois

whois

BashDraft — pending expert review3 practice missions

Look up who registered a domain or owns an IP block

Queries the public WHOIS registry for a domain (registrar, owner, creation/expiry dates) or an IP address (which organisation the block was allocated to). -h lets you ask a specific WHOIS server instead of the default one.

Practice whois

Usage

whois [-h server] target

Options and flags

Examples

Common mistakes

whois whois example.com

whois always needs something to look up — a bare domain or IP address as its argument.

Related commands

dignslookup