Skip to Content
Platform.Ontology

Reverse DNS (PTR) of the client IP

A reverse lookup of the IP can return an ISP hostname that hints at location or line type.

Gets silentlyNetwork and connectionAddressingWeb browsersWhen the page loads

In one line

Can look up your internet address to learn your provider and sometimes your area

A reverse lookup of the IP can return an ISP hostname that hints at location or line type.

PTR records such as pool-1-2-3-4.nycmny.fios.verizon.net expose ISP, city codes and sometimes dynamic vs static addressing. Servers do this for logs and bot checks (Googlebot verification).

What it can and can't do

What the user does: Nothing. It happens when the site's server logs or checks your visit

It can

  • Learn the name your internet provider gave your address
  • Spot city codes or home versus business lines in that name
  • Confirm that a visitor claiming to be a search crawler really is one

It cannot

  • Learn your street address or your name
  • Work when your provider gives no useful name
  • See through a VPN or relay, which show their own names
  • Be blocked from your browser, since it happens on the server side

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported12008-12-11None
EdgeSupported792020-01-15None
FirefoxSupported12004-11-09None
SafariSupported12003-06-23None
Safari on iPhoneSupported12007-06-29None
Chrome on AndroidSupported1Not listedNone
Samsung InternetSupported5.02016-12-15None

How a site asks for it

APIDNS PTR lookup for in-addr.arpa and ip6.arpa
How access is grantednone
What the user seesNot listed
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsNot listed
How to take it backNot listed
Inside an iframeNot listed

Typical flow

  1. Server reverse looks up IP
  2. Parses hostname patterns

Data you get

What comes back: FQDN or none
Shape: string

FieldTypeUnitRangePrecision
ptrstringNonehostnameexact if present

Technical limits

  • Many IPs have no PTR
  • Cloud IPs return generic names

The story

What it is

A lookup of your internet address can return a name hinting where you are or what line you use.

For you

You never see it. The server may turn your numeric address into a name like a phone company or a school. That name hints at your area or whether you are on a home line or a data center.

For makers

Makers use it to check that crawlers are who they say, to tell home users from servers, and to guess city or company. It is quick, free and needs no cooperation from the browser.

Where you see it

TypeExampleApps
securityA site that gets traffic claiming to be Googlebot checks the address name. If it does not end in Google's domain, it is blocked as an impostor.Googlebot
adsAn ad network uses the name to tell data center traffic from home traffic, and treats data center clicks as likely fake.None named
analyticsAn analytics tool shows visits by company name, because staff of a firm browse from an address that names it.None named
enterpriseA B2B sales tool spots a visit from a target company and alerts the salesperson.None named
gamesA game server list blocks cloud hosting names for ranked play, to stop cheat servers and bots.None named
mediaA video site sees a university address name and offers the campus subscription deal.None named
securityA mail or web server logs address names so staff can trace an abuse complaint to the right network owner.None named

Risks

  • Guesses location
  • Can mislabel people

Good uses and abuse

Legitimate uses

  • Crawler verification, log enrichment

Known abuse

  • Residential identification

Scores

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits2Rough identifying entropy, when known

Sources

How well checked: Based on official documentation.

On this page