We have iphones in our network and they can't resolve computer names. We want to access internal sites through internal names (http://server), however we can't.
Is there any solution to this?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Like Farseeker says, the issue is that what you call "computer names" are actually NetBIOS names. NetBIOS is a protocol of Sytek/IBM's own invention, which has been superceded by a naming service like DNS, so it is generally not supported on non-Windows machines. Linux and Unix machines can use NetBIOS through a thrid-party client called SAMBA, but the iPhone doesn't run SAMBA.
Ultimately, you need to get your Windows machines to resolve over DNS as well as over NetBIOS. There are plenty of ways you could do this:
In short, windows host names do not resolve over DNS by default - you need them to resolve over DNS for iPhones and other devices that use internet standards for name resolution.
When you're in a windows environment, it can (and does) use NetBIOS to resolve the computer names, so if you do not have a central DNS server (like on a home network), it can still map names to IP addresses.
The iPhone however does not support NetBIOS name resolution - because it is not a PC and it is lacking in this protocol. You will never see it included either, because it's fairly left-of-field.
The only way around it is to set up a DNS (if you have an AD then you already have a DNS), or jailbreak your iPhone and edit your hosts file to manually map IPs to names...
Either setup an internal DNS, ie one that you company manages themselves with all the server records, if you have an Active Directory domain then you already have a DNS server. Then have dhcp deliver the DNS servers` IP address or manually config as described in the 1st answer.
Alternatively setup a web proxy on your wireless lan which has a hosts file for the servers you want them to access. Again this needs config'ing on the iPhone by hand or via DHCP.
Do you have them listed in a DNS or do you have them provisioned through a hosts file normally?
I get the DNS provisioned from my wireless on my iphone and DNS seems to work just fine. Check under Settings > WiFi Networks > [SID] > DHCP should show DNS and search domains.
I'd like to know how to setup something like hosts for the iPhone where some of the servers I want are not on the DNS.
This is what I do:
I have a windows laptop running Apache with computer name "home-laptop". Now I can go to iPhone's safari and type "http://home-laptop.local".