Where to start First steps track · 15 stages
Linux Labs

whois — domain and IP data

cheat sheet · whois https://lab.dimsanych.ru/en/wiki/whois/

Cheat sheet

  • whois example.com a domain (registrar, expiry, NS)
  • whois 1.2.3.4 an IP (network, provider, abuse)
  • whois IP | grep -i abuse the abuse contact
  • whois IP | grep -iE 'cidr|netrange' the network block (for banning)
  • whois -h whois.ripe.net IP a specific registry
  • dig — what IP a domain has ; whois — who owns that IP/domain

Options

A top-level whois server often just forwards to a regional registry (RIPE, ARIN, APNIC) — -h queries the right server directly if the general answer is truncated or incomplete. IP data is usually more complete than domain data: domains have some fields hidden by the registrar's privacy protection (GDPR).

Loading…