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.
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
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 1 | 2008-12-11 | None |
| Edge | Supported | 79 | 2020-01-15 | None |
| Firefox | Supported | 1 | 2004-11-09 | None |
| Safari | Supported | 1 | 2003-06-23 | None |
| Safari on iPhone | Supported | 1 | 2007-06-29 | None |
| Chrome on Android | Supported | 1 | Not listed | None |
| Samsung Internet | Supported | 5.0 | 2016-12-15 | None |
How a site asks for it
| API | DNS PTR lookup for in-addr.arpa and ip6.arpa |
| How access is granted | none |
| What the user sees | Not listed |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | Not listed |
| How to take it back | Not listed |
| Inside an iframe | Not listed |
Typical flow
- Server reverse looks up IP
- Parses hostname patterns
Data you get
What comes back: FQDN or none
Shape: string
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
ptr | string | None | hostname | exact 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
| Type | Example | Apps |
|---|---|---|
| security | A 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 |
| ads | An ad network uses the name to tell data center traffic from home traffic, and treats data center clicks as likely fake. | None named |
| analytics | An analytics tool shows visits by company name, because staff of a firm browse from an address that names it. | None named |
| enterprise | A B2B sales tool spots a visit from a target company and alerts the salesperson. | None named |
| games | A game server list blocks cloud hosting names for ranked play, to stop cheat servers and bots. | None named |
| media | A video site sees a university address name and offers the campus subscription deal. | None named |
| security | A 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
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 2 | Rough identifying entropy, when known |
Related capabilities
Related
- ASN, ISP and hosting type. Can tell which internet company you use and if you look like a home user
Sources
How well checked: Based on official documentation.