Footprinting & Reconnaissance · Module 02

WHOIS

Look up who owns a domain or IP, when it was registered, and its name servers.

ModuleModule 02PhaseFootprinting & ReconnaissanceTypeDefensive / AnalysisPlatformKali Linux

Definition

WHOIS is a query protocol and service used to retrieve registration information about domain names, IP address allocations, and related internet resources.

Primary purpose

Identify domain registration details, registrar information, registration dates, and available ownership-related information.

Cybersecurity use

Domain reconnaissance, threat intelligence, digital investigations, and authorized security assessments.

Key features

Domain information

Retrieves available domain registration records.

Registrar identification

Identifies the registrar responsible for a domain.

Registration dates

Shows available creation, update, and expiration dates.

Name server discovery

Identifies the name servers associated with a domain.

IP registration lookup

Helps identify the organization or registry behind an IP allocation.

Privacy awareness

Shows limited data when privacy services or registry policies restrict disclosure.

Important commands

whois example.com

Retrieve registration information for a domain.

whois 8.8.8.8

Query registration information for an IP address.

whois -h <server> <domain>

Query a specific WHOIS server.

whois -h whois.iana.org example.com

Send the query to a named WHOIS server.

whois --help

Show available command-line options.

Practical examples

01Domain lookup
command
whois example.com

Purpose Retrieves available registration details for the domain.

02IP address lookup
command
whois 8.8.8.8

Purpose Retrieves IP registration / allocation info, often the responsible organization.

03Query a specific WHOIS server
command
whois -h whois.iana.org example.com

Purpose Sends the query to that server; it may not hold the domain's detailed record.

Important points

  • WHOIS vs DNS: WHOIS returns registration info; DNS resolves names to records like IP addresses.
  • RDAP: The Registration Data Access Protocol is the modern alternative, with structured responses.
  • Privacy protection: Registrant names, emails and phone numbers may be hidden or redacted.
  • Data accuracy: Records can be incomplete, outdated, or limited by registry policy.
  • Rate limits: WHOIS servers may limit how often you can query.
  • Attribution limits: A registrar or IP record does not necessarily identify who operates a site.

Common use cases

Domain reconnaissance

Collect public registration information about a domain.

Threat intelligence

Investigate suspicious domains and compare registration details.

Incident response

Gather registration info about domains seen in an incident.

Attack surface assessment

Collect domain-related info during an authorized assessment.

Defensive security

Investigate potentially malicious domains and support research.

Learn it in context

This tool is taught in Module 02

Read the full written notes, with diagrams, defense and detection.

Open Module 02