whois <domain>Registration details: registrar, creation and expiry dates, name servers and (unless redacted) contacts.
Example
whois example.comLooks up registration records for domains, IP addresses and autonomous systems — ownership, dates and abuse contacts for attack-surface mapping.
sudo apt install whoiswhois <domain>Registration details: registrar, creation and expiry dates, name servers and (unless redacted) contacts.
Example
whois example.comwhois <domain> | grep -iE "registrar|creat|expir|name server"Pulls the lines that matter most for recon.
Example
whois example.com | grep -iE "registrar|creat|expir|name server"whois -h <server> <query>Queries a specific WHOIS server.
Example
whois -h whois.verisign-grs.com example.comwhois <ip>The organisation, network range and abuse contact that owns an IP — maps targets to owners.
Example
whois 203.0.113.10whois <ip> | grep -iE "orgname|netrange|cidr|country"The ownership summary for an address.
Example
whois 8.8.8.8 | grep -iE "orgname|netrange|cidr|country"whois -h whois.cymru.com " -v <ip>"Team Cymru: maps an IP to its ASN, owner and country in one line.
Example
whois -h whois.cymru.com " -v 8.8.8.8"whois AS<number>Details of an autonomous system.
Example
whois AS15169The go-to DNS lookup tool: query any record type, pick the server, attempt zone transfers and trace resolution from the root — essential for recon.
A DNS enumeration script: record retrieval, zone transfers, subdomain brute forcing, reverse lookups, SRV discovery and certificate-log harvesting.
In-depth attack-surface mapping: discovers subdomains through passive sources, DNS brute-forcing and permutation, and graphs the results.