Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have an iPhone 4 and a 3rd generation iPad. They connect to my local home network over WiFi but I cannot use their machines names. I have an app on both devices that exposes a web server, but I can only connect to them using their IP addresses and not their machine names.

If I try to ping their names from a Windows PC I get the following:

Ping request could not find host <iOS machine name>. Please check the name and try again.

How can I enable their machine names to be accessible via DNS on my home network?

share|improve this question
    
what is the app you are using? also, are you referring to the DHCP client ID? –  Ethan Lee Sep 7 '12 at 4:30
    
Try adding a dot (.) after local. For example dansiphone.local. –  duci9y Sep 7 '12 at 8:47
add comment

1 Answer 1

I use a Time Capsule as my Wifi router, and all my devices are registered in the domain (e.g. "lan") once a device has a lease and each device receives the "lan" domain as the search domain as part of the DHCP config.

Pinging 192.168.0.xxx, iPhone4.lan, just iPhone gets me to my device.

If you can ping the devices by IP address and not by name, then the answer lies more in your home network than in the devices themselves, and how the DHCP server registers device names once a DHCP lease has been obtained.

If your Windows machine has a static IP address, then its quite possible all you need to do is add the Wifi Lan name into the DNS Search config on the Windows PC, but more information is needed on how you are configured.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.