Skip to Content
Platform.Ontology

Local IP addresses and DNS servers

Reads the phone's LAN addresses and DNS servers; Android 17 adds a local network permission.

Gets silentlyNetwork and connectionConnectivityAndroid and iPhoneWhen the app opensWhile you use it

In one line

Can see your phone's home network address and DNS servers, with limits in Android 17

Reads the phone's LAN addresses and DNS servers; Android 17 adds a local network permission.

LAN IP and DNS often reveal the router and network type; local network access also lets apps scan other devices at home (50 Ways to Leak Your Data).

What it can and can't do

What the user does: Nothing, or you tap Allow when the app asks to find devices on your network

It can

  • See the phone's own private network address
  • List the DNS servers the phone uses
  • Scan or talk to home devices on Android 16 and older
  • Talk to local devices on iPhone after you approve

It cannot

  • Scan your home network on Android 17 without Local network permission
  • Talk to local devices on iPhone if you decline
  • See your router password
  • Identify other devices without the permission

How it differs between platforms: Android 17 adds a permission for local network traffic. iPhone asks since iOS 14.

On Android and iPhone

AndroidiPhone
StatusPartialPartial
First versionAndroid 1.0 (API 1)iOS 14.0
Permission or entitlementACCESS_LOCAL_NETWORK (Android 17, API 37) for LAN traffic; INTERNET for the restprompt
Protection leveldangerousprompt
How access is grantedpromptnone
What the user seesNot listedNot listed
How long it lastsUntil revokedSettings > Privacy > Local Network
How to take it backSettings > Apps > PermissionsApp Review 5.1.1
Store policyPlay: policyNone listed
APINetworkInterface.getNetworkInterfaces(), LinkProperties.getDnsServers()Own address readable with no prompt; talking to LAN devices prompts (iOS 14)
NotesLAN scanning is restricted in Android 17 via a runtime permissionUntil revoked

Data you get

What comes back: Addresses, DNS
Shape: list
How often: On change

FieldTypeUnitRangePrecision
addresseslistIP1 to 4exact

Technical limits

  • Own address visible with no prompt

The story

What it is

An app can see the addresses of your phone and your router on your home network.

For you

You do not see it. Apps use it to find a TV to cast to or a printer on your Wi-Fi. It can also reveal the type of router and map your home devices.

For makers

Makers need it to connect to smart speakers, TVs and printers. It also lets an app learn what is in your house. Researchers found apps that quietly scanned local devices to build a profile.

Where you see it

TypeExampleApps
mediaA video app finds your TV on Wi-Fi so you can cast a show from your phone.YouTube, Netflix
smart-homeA smart home app discovers lights and speakers on the same network.Google Home, Philips Hue
gamesA local multiplayer game finds a friend's phone on the same Wi-Fi for a party game.None named
musicA music app finds speakers around the house and plays on them.Sonos, Spotify
adsAn ad kit lists devices on your network and ties them to your phone.None named
securityA security app scans your network to find an unknown camera.Fing

Risks

  • Maps your home devices
  • Hidden scanning

Android and iPhone in short

  • Android: Android 17 adds a local network permission, so apps will have to ask first.
  • iPhone: iPhone has asked for local network permission since iOS 14, and shows a prompt the first time.

What the platform says

Good uses and abuse

Legitimate uses

  • Smart home, casting

Known abuse

  • Map home devices to a person

Scores

ScoreValueMeaning
Sensitivity3 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction2 of 5How much the user has to do
Fingerprint bits3Rough identifying entropy, when known

History

  • 2020-09, iPhone iOS 14: Local Network prompt added
  • 2026-06, Android 17 (API 37): ACCESS_LOCAL_NETWORK runtime permission
  • Public IP address. Can't avoid showing your public address to any server it contacts, which hints at a city

Same idea on the web

Sources

How well checked: Based on official documentation.

On this page