Skip to Content
Platform.Ontology

WebRTC ICE host candidates (mDNS)

WebRTC used to expose the device's local network IP; browsers now hide it behind a random .local name.

Gets silentlyNetwork and connectionWebRTCWeb browsersWhen the page loads

In one line

Can try to find your device's home network address, but browsers now hide it

WebRTC used to expose the device's local network IP; browsers now hide it behind a random .local name.

RTCPeerConnection gathers ICE host candidates. Since 2019 and 2020 Chrome and Firefox replace private IPs with mDNS .local names, but granting getUserMedia (camera or microphone) restores real addresses.

What it can and can't do

What the user does: You join a video call or visit a site that sets up a call connection

It can

  • Start a call connection that lists your device's network addresses
  • See a random .local name in place of your real home network address in Chrome and Firefox
  • See your real home network address if you have also allowed camera or microphone

It cannot

  • See your real home network address by default in Chrome and Firefox since 2019 and 2020
  • Set this up without a site script running
  • See other devices on your network from this alone
  • Be sure to bypass a VPN, since modern browsers mask the address

How it differs between platforms: Chrome and Firefox hide the address by default. Safari asks differently and also shows a masked name unless camera or microphone is allowed.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported562017-01-25mDNS default since 75
EdgeSupported152017-04-05mDNS default since 75
FirefoxSupported442016-01-26mDNS default desktop since 78
SafariSupported112017-09-19None
Safari on iPhoneSupported112017-09-19None
Chrome on AndroidSupported562017-02-01mDNS default since 75
Samsung InternetSupported6.02017-08-23mDNS default since 75

How a site asks for it

APIRTCPeerConnection.onicecandidate; media.peerconnection.ice.obfuscate_host_addresses
Browser compat keysapi.RTCPeerConnection
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. Create RTCPeerConnection and data channel
  2. Read candidate strings
  3. Parse IP or mDNS name

Data you get

What comes back: ICE candidate strings
Shape: list

FieldTypeUnitRangePrecision
host candidatestringNoneprivate IPv4 or mDNS UUID.localhidden by default in modern browsers

Technical limits

  • getUserMedia permission re-exposes local IPs
  • Still leaks IPv6 addresses in some cases

The story

What it is

Video call tech used to show your device's home network address. Browsers now hide it behind a random name.

For you

On a video call or a multiplayer game you notice nothing. Behind the scenes your browser offers a random name instead of your home network address. Calls still work.

For makers

Makers need these candidate addresses to link two devices directly, which cuts server cost and delay. Hiding the real address stops sites from quietly reading it, but direct links on the same network still work.

Where you see it

TypeExampleApps
videoTwo coworkers on the same office Wi-Fi join a Google Meet call. Their browsers swap random local names and connect straight to each other, which keeps audio crisp.Google Meet
gamesA browser party game uses peer to peer data channels. Players on the same Wi-Fi link directly through hidden local names, so moves arrive with low delay.None named
videoA cloud gaming stream in a browser sets up a direct media path from the game server to the player. Hidden local names stop the page leaking the player's network layout.GeForce NOW, Xbox Cloud Gaming
socialA web chat app starts a voice room. Friends on one network connect with each other without sending audio through the company's servers.Discord
adsA tracking script used to read local addresses to tell devices apart. With hidden names it gets a random value that changes, so that trick stops working.None named
enterpriseA telehealth site lets a doctor and patient talk. It keeps the call direct when possible and avoids storing home addresses in logs.None named
educationA virtual classroom opens small group rooms. Students in the same school building connect over the local network, so lessons run smoothly.None named

Risks

  • Older browsers leak addresses
  • Hidden names add setup steps

What the platform says

  • IETF: mDNS ICE candidates. Browsers swap your local address for a random .local name, so calls still connect but the real address stays private.

Good uses and abuse

Legitimate uses

  • Peer to peer calls

Known abuse

  • VPN bypass detection and local IP leak, LAN inventory

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 bits3Rough identifying entropy, when known

History

  • 2018-01, Chrome: WebRTC leak popularized by VPN leak tests
  • 2019-06, Chrome 75: mDNS host candidates by default
  • 2020-06, Firefox 78: mDNS host candidates by default on desktop

Sources

How well checked: Based on official documentation.

On this page