I typically determine the IP of a host by doing:
$ host -t A example.com. Is there a more verbose version of this that tells me whats happening in the background, specifically the order of what is queried (/etc/hosts 1st, dns server 2nd)?
As many people can attest to, OS X Lion resolves local
/etc/hosts entries painfully slow, and I'd like to see what bottlenecks are causing this. Seems like in theory,
/etc/hosts should be queried first and name resolution should happen instantaneously for manually entered hosts.