sysadmintools
· Sysadmin Tools

Reading the results: IPs, subnets, ports, and WHOIS

What each lookup actually tells you, and how to interpret the answer. A practical reference for IP addresses, subnet math, open ports, and registration records.

Four tools, four questions. Each one returns a fact that is easy to misread, so this is a reference for what the answer means rather than a tutorial on how to click the button.

What is my IP

This returns the address the far end sees, which is not necessarily your machine's address. If you are behind carrier-grade NAT, a corporate proxy, or a VPN, the visible address belongs to that layer. That is usually the point of asking: it tells you what the outside world will block, allow, or geolocate.

If the answer is IPv6 and you expected IPv4, your client preferred IPv6, which is normal on a dual-stack network. That is why the tool reports the family explicitly instead of showing a bare string.

Subnet math

A subnet calculator answers three questions: what network does this address belong to, what range is usable, and what is the broadcast address. The common mistake is counting the network and broadcast addresses as usable hosts. For a /24 that is the difference between 256 and 254, and it matters when you are sizing a DHCP scope.

The second common mistake is assuming a /31 is unusable. Point-to-point links use /31 with two addresses and no broadcast, which is deliberate.

Worked example: 192.168.1.37/26

A /26 borrows two bits from the host portion, leaving six. Two to the sixth is 64, so the address space divides into blocks of 64 starting at zero:

network    192.168.1.0
first host 192.168.1.1
last host  192.168.1.62
broadcast  192.168.1.63
usable     62
mask       255.255.255.192

The address 192.168.1.37 falls in the first block, because 37 is less than 64. Move to 192.168.1.70 and the same mask puts you in the second block, 192.168.1.64 through 192.168.1.127, with a different broadcast address. Two hosts on the same physical switch but different subnets cannot talk without a router between them, and that is usually the answer when someone reports that a device is reachable from one machine and not another.

The count that trips people up is the usable number: 62, not 64. The network and broadcast addresses are not assignable. If you size a DHCP scope from the block size instead of the usable count, you will hand out two addresses that break things in ways that are difficult to diagnose.

Open ports

An open port means something accepted a connection. It does not mean the service is vulnerable, and a closed port does not mean the host is safe. What matters is whether the thing listening should be reachable from where you are asking.

A database port answering on a public address is a finding regardless of patch level. A web port answering is expected. Judge exposure by intent, not by port number.

One caution: scanning hosts you do not own is often illegal and always rude. Check your own infrastructure, or infrastructure you have written permission to test.

WHOIS

WHOIS returns the registration record: registrar, creation and expiry dates, name servers, and sometimes an abuse contact. Since GDPR and registrar redaction, registrant details are usually withheld, so an empty registrant field is normal rather than suspicious.

The useful fields are the dates. A domain registered last month and hosting a login page is a different proposition from one registered in 2004. The name servers tell you which provider controls the zone, which is where you look when DNS is wrong.

RDAP is replacing WHOIS and returns structured JSON. If you are automating this, use RDAP.

Putting them together

A normal investigation starts with the name, then the address, then the service. Resolve the hostname, check which address it lands on, confirm the certificate matches the name you asked for, and only then look at what is listening. Most reported outages are a DNS or certificate problem wearing a network costume.

Start with IP lookup, subnet calculator, port check, or WHOIS lookup depending on which question you are actually asking.

Keep reading