Hacker News new | ask | show | jobs
by Umofomia 5302 days ago
This brings up an interesting question; since by default on iOS the hostname is based on the user's name, what will happen when two people with the same hostname (e.g., john-smith-iphone.local) both connect to a public WiFi network? Is there automatic conflict resolution?
2 comments

From what I can see on my Macbook Pro, yes, there is. One of the hostnames (the one that connected after the original) is automatically changed (in my experience it either appends a number to your current hostname or it completely changes your hostname, to something based on the network).

PS: I'm guessing here that the iOS behaviour when it comes to hostnames is similar to Lion's.

According to Apple's Bonjour documentation [1], there is automatic resolution for the `local` domain.

[1] http://developer.apple.com/library/mac/documentation/Cocoa/C...