An IP address in a firewall log, access review, abuse queue, or provider ticket needs a registration-side check before it is treated as belonging to a network operator. A WHOIS lookup should show the containing range, registry server, organization, and reference record for that same public address.
IP number resources are registered through IANA, regional internet registries, and downstream allocations or assignments. A default WHOIS client may start at IANA and follow the referral automatically, or it may stop at a broad parent record that names the registry server to query next.
WHOIS shows registration responsibility, not physical location, current routing, reverse DNS, or proof that a host is active. Use ASN, RDAP, DNS, packet-log, or provider evidence when the decision depends on live routing, an abuse contact, or structured registration data.
Related: How to find abuse contacts with whois
Related: How to query an ASN with whois
Related: How to query RDAP for a domain
Related: How to follow a WHOIS referral server
$ whois 8.8.8.8 % IANA WHOIS server % This query returned 1 object refer: whois.arin.net whois: whois.arin.net # whois.arin.net NetRange: 8.8.8.0 - 8.8.8.255 CIDR: 8.8.8.0/24 NetName: GOGL Organization: Google LLC (GOGL) Ref: https://rdap.arin.net/registry/ip/8.8.8.0 ##### snipped #####
Use the public address visible to the remote service. Private or special-use addresses such as 10.0.0.5, 192.168.1.10, and 100.64.10.20 do not identify the public registration record for the remote connection.
$ whois -h whois.arin.net 8.8.8.8 NetRange: 8.8.8.0 - 8.8.8.255 CIDR: 8.8.8.0/24 NetName: GOGL Organization: Google LLC (GOGL) Ref: https://rdap.arin.net/registry/ip/8.8.8.0 ##### snipped #####
Query the server named in the refer or whois field instead of guessing a registry. Some clients follow the referral automatically, while others print only the first response.
Related: How to follow a WHOIS referral server
NetRange: 8.8.8.0 - 8.8.8.255 CIDR: 8.8.8.0/24
The containing range can be broader or narrower than the address block seen in routing data. For route origin or prefix decisions, check ASN or BGP evidence separately.
Related: How to query an ASN with whois
NetName: GOGL NetType: Direct Allocation Organization: Google LLC (GOGL)
Ref: https://rdap.arin.net/registry/ip/8.8.8.0
Use RDAP when WHOIS output is sparse, hard to parse, or being compared with JSON evidence.
Related: How to query RDAP for a domain
OrgAbuseHandle: ABUSE5250-ARIN OrgAbuseName: Abuse OrgAbuseEmail: abuse@example.net
The example email is sanitized. Keep real public role contacts in the private ticket, and remove unrelated personal, postal, or technical contact fields before sharing excerpts.
Related: How to find abuse contacts with whois
Related: How to sanitize whois contact data
$ whois 8.8.8.8 > 8.8.8.8.whois
Save the exact command output before trimming it for a handoff, because referrals, disclaimers, and registry fields can change.
Related: How to save raw whois output
The lookup is ready to use when the WHOIS or referred registry record contains the queried public IP address, names the responsible registry or organization, and gives the range, CIDR, or reference field needed for the decision.