WHOIS Lookup Guide: Domain Registration Intelligence
Learn how to use WHOIS lookups for domain registration intelligence, including querying registrar data, analyzing historical records, and privacy protection.
Domain Registration Intelligence
WHOIS is a protocol and methodology for extracting intelligence from domain registration records. Every registered domain leaves a data trail — ownership details, registration dates, name servers, and registrar information — that investigators can query to map an organization's digital footprint, identify infrastructure relationships, and uncover hidden connections between online assets.
Prerequisites
Before studying WHOIS, you should understand:
WHOIS Data Fields
Using WHOIS from the Command Line
Basic Queries
# Basic query
whois example.com
# Query specific WHOIS server
whois -h whois.verisign-grs.com example.com
# Query by IP address
whois 8.8.8.8
# Extract creation and expiration dates
whois example.com | grep -E "Creation Date|Expiration Date"
Analyzing Results
# Extract name servers
whois example.com | grep -i "name server" | awk '{print $NF}'
# Check domain status codes
whois example.com | grep -i "domain status"
# Extract registrant organization
whois example.com | grep -i "registrant organization" | head -1
WHOIS Analysis Script
#!/bin/bash
DOMAIN=$1
echo "=== WHOIS Analysis for $DOMAIN ==="
whois "$DOMAIN" | grep -E "Creation Date|Expiration Date|Updated Date"
whois "$DOMAIN" | grep -i "registrar:" | head -3
whois "$DOMAIN" | grep -i "name server" | awk '{print $NF}'
Advanced WHOIS Techniques
Historical WHOIS Data
Compare current data with historical records to identify changes indicating ownership transfer:
# Use online services for historical WHOIS
# whois-history.com, domaintools.com, whoisfreaks.com
Reverse WHOIS Lookup
Find all domains registered by the same person or organization.
IP WHOIS
# Network ownership information
whois 8.8.8.8 | grep -i "inetnum|CIDR|netrange"
whois 8.8.8.8 | grep -i "org-name|organization"
ASN Lookup
# Find ASN for an IP
whois -h whois.cymru.com " -v 8.8.8.8"
# Find IP ranges for an ASN
whois -h whois.radb.net -- "-i origin AS15169" | grep -E "^route:"
GDPR Impact
Since GDPR enforcement in 2018, WHOIS data has become less revealing. Many registrars offer privacy protection by default:
whois privatized-domain.com
# Shows: REDACTED FOR PRIVACY
Working with Redacted Data
# Registrar identification
whois target.com | grep "Registrar:"
# Name server analysis
whois target.com | grep "Name Server:"
# Domain age calculation
creation=$(whois target.com | grep "Creation Date" | head -1 | awk '{print $NF}')
echo "Domain age: $(( ($(date +%s) - $(date -d "$creation" +%s)) / 86400 / 365 )) years"
Real-World Use Cases
Phishing Detection via Domain Age
SUSPICIOUS_DOMAIN="secure-login-bank-verify.com"
CREATION_DATE=$(whois "$SUSPICIOUS_DOMAIN" | grep "Creation Date" | awk '{print $NF}')
DAYS_OLD=$(( ($(date +%s) - $(date -d "$CREATION_DATE" +%s)) / 86400 ))
echo "Domain is $DAYS_OLD days old"
Malicious Infrastructure Investigation
MALICIOUS_DOMAINS=("evil1.com" "evil2.com" "evil3.com")
for domain in "${MALICIOUS_DOMAINS[@]}"; do
echo "$domain: $(whois "$domain" | grep -E "Registrar|Name Server" | head -2)"
done
Common Mistakes
Relying solely on WHOIS: Privacy protection and false registration data mean WHOIS should not be the only source.
Ignoring rate limits: WHOIS servers enforce rate limits. Add delays between queries.
Not checking multiple servers: Different TLDs use different WHOIS servers.
Best Practices
Related Tools
Related Articles
Summary
WHOIS lookups provide domain registration intelligence including ownership, registration dates, and name servers. GDPR has reduced personal data availability, but valuable information like registrar, domain age, and name server infrastructure remains accessible.
Knowledge Check
Frequently Asked Questions
Continue Learning
Domain Privacy and GDPR: Understanding WHOIS Redactions
Learn how GDPR and domain privacy protection affect WHOIS lookups, why data is redacted, and techniques for working with limited registration data.
OSINT · IntermediateOSINT Reconnaissance Using WHOIS Data
Master advanced WHOIS-based OSINT techniques including reverse lookups, historical data analysis, email harvesting, and combining WHOIS with other intelligence sources.
OSINT · IntermediateReconnaissance Workflow: Complete Information Gathering Process
Learn a complete reconnaissance workflow combining OSINT, DNS enumeration, subdomain discovery, and active scanning for comprehensive target profiling.
OSINT · IntermediateSubdomain Enumeration: Finding Hidden Attack Surface
Master subdomain enumeration techniques using passive and active methods to discover hidden subdomains and expand attack surface mapping.
Related Security Tools
Whois
Whois is a query and response protocol used for querying databases that store registered users of Internet resources. It provides information about domain registration, ownership, registrar details, name servers, and expiration dates for any domain or IP address block.
Information GatheringMaltego
Learn how to use Maltego, the graphical OSINT and link analysis tool: install the free Community Edition, add entities to a graph, run transforms and read the relationships between domains, IP addresses, organizations, people, and other entities.
Information GatheringtheHarvester
Learn how to use theHarvester in Kali Linux: gather emails, subdomains, employee names, open ports, and banners from public sources with a step-by-step first scan, API keys, and worked examples for authorized OSINT recon.
Domain IntelligenceWhois Lookup
Free WHOIS lookup for domains and IP addresses. Retrieve the registrar, creation, update and expiry dates, name servers, EPP domain status codes, and public registration records — with a field-by-field guide to reading the record, an explanation of RDAP (the protocol replacing WHOIS), and the domain-age checks security analysts use to spot newly registered phishing sites before they strike.