Dns Unknown host

I was wondering if anyone can tell me why I'm unable to ping computers by name on my Lan. I'm running a Maverick server with the .private.. The services I"m running seems to be working. Do I need to add machine recorders in the DNS for all the devices on my LAN if I want to ping by name.


If so how do I do that


Thank you

Posted on Feb 16, 2014 9:16 AM

Reply
4 replies

Feb 17, 2014 5:14 AM in response to Device

Ping relies on name resolution (or IP address) to find its way to a machine. So, if you have three systems, server.device.private, client1.device.private, and client2.device.private, the only way to know those names is via a DNS record. So yes, you need to define an A record for each device you want to access by name. Then, all devices must be configured (via DHCP or manually) to reference that DNS server.


Please note that DNS and Bonjour are not the same. You can ping a Bonjour name but for a proper server setup you need real DNS.


R-

Apple Consultants Network

Apple Professional Services

Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

Feb 20, 2014 12:13 PM in response to Device

Have you configured your network interface to use your server as a DNS server?


As a test, try this. Lets assume you have created a record of your mini server. The record is mini.device.com. This is a fully qualified name containing a host (mini), a domain (device), and a TLD (com). Let's assume you have defined this record to resolve to 172.16.0.10. Start the DNS service.


Now go to another machine on the network. Confirm that you can talk to the server by:


ping 172.16.0.10


Now try and resolve the address by explicitly asking the DNS server:


nslookup mini.device.com 172.16.0.10


The command above asks the DNS server at 172.16.0.10 to answer if it knows the name mini.device.com. If you get a reply, then the DNS server is responding. Now try to resolve without explicitly defining the DNS server's address:


nslookup mini.device.com


Does it work? If not, then you have not provided your machine with the correct DNS path. Go to System Preferences > Network > Active interface > Advanced > DNS. The IP address of your server running DNS should be the first DNS server listed. Now you can enter this manually for devices with manual IP, but you likely should edit your DHCP server to hand it out to the rest of the network.


R-

Apple Consultants Network

Apple Professional Services

Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Dns Unknown host

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.