Reverse DNS Lookup

Reverse DNS Lookup

Look up the PTR record for an IP address — the name its owner has published for it. Forward DNS turns names into addresses; reverse DNS goes the other way, and it is maintained separately by whoever controls the address block.

What a reverse record can tell you

PTR names often encode more than their owner intended: the operator, the connection type, a regional identifier and sometimes the customer's own hostname. A name like cpe-24-4-31-50.socal.res.example.net reveals a residential customer-premises device in a specific region, without anyone having to publish that fact deliberately.

That makes reverse DNS useful for identifying what kind of connection an address belongs to — residential broadband, mobile, datacenter or corporate — which is often more informative about region than a geolocation estimate.

Why it is a clue and not proof

The record is set by whoever owns the address block, is verified by nobody, and frequently goes stale after equipment moves or address blocks are reassigned. A hostname naming a city is evidence about how the operator labels that block, not about where the device is.

Plenty of addresses have no PTR record at all. That is normal and means nothing in itself — reverse DNS is optional for most purposes.

Where it genuinely matters: email

Mail servers are the main case where a missing or mismatched PTR causes real failures. Most receiving servers check that the sending IP has a reverse record, and that the name it returns resolves forward to the same address. That round trip is called forward-confirmed reverse DNS.

A server without it, or with a generic ISP-assigned name, is frequently rejected or heavily penalised regardless of how correct SPF and DKIM are. If outbound mail is being refused and the DNS records all look right, this is the check that gets missed.

Reading it alongside other lookups

Reverse DNS is most useful in combination. Pair it with the AS lookup to see which network actually owns the block, and with your own address to understand what your connection presents to the world. Where the PTR name and the AS registration disagree, the AS data is the more reliable of the two.