DNS name resolution not working consistently with ssh
nslookup will always resolve correctly, but ping does not. Is it that ssh does not use DNS on OS X?
I can add a host (that is already configured in DNS) to my /etc/hosts file and ssh (or ping) will work, if I then comment that entry out, ssh and/or ping will stop working.
Here is my resolv.conf file.
#
search lab.steinhouse.com
nameserver 10.32.6.20
nameserver 10.32.6.21
Here is some output from nslookup and ping:
tsmacpro:etc toddstein$ nslookup labvma01
Server: 10.32.6.20
Address: 10.32.6.20#53
Name: labvma01.lab.steinhouse.com
Address: 10.32.6.29
tsmacpro:etc toddstein$ ping labvma01
ping: cannot resolve labvma01: Unknown host
tsmacpro:etc toddstein$
Mac Pro, Mac OS X (10.6.2)