Using OpenDNS is not an option for me for one reason alone: I need to use our internal Nameserver in order to resolve internal IP-Addresses.
The solution under:
http://discussions.apple.com/thread.jspa?threadID=2134936&tstart=45
claims the issue is due to a reverse lookup bug in Windows DNS-Server.
To me that sound's a bit unlikely since half of mankind would then suffer from this issue...but still possible 🙂
I tried to put the IP Address of the SMB server (which also is the Active Directory Server) into /private/etc/hosts.
This alone did not help. I then realized with help of Google that OS X would not consult /privat/etc/hosts ( == /etc/hosts) by default when using DHCP.
I was under the assumption that /etc/hosts would always the evaluated in first place.
This made me look at /etc/resolv.conf. And I added "order hosts, bind" to it. Unfortunately I can't really tell if that is a supported directive by OS X. The resolv.conf man page is not explicit about it.
Since I'm using DHCP the file resolv.conf is updated by the OS whenever I change network config. And I do change it a lot...
I've written a quick sh script that I can call to add the order directive to the file.
It's:
#!/bin/sh
mv /var/run/resolv.conf /etc/resolv.conf.new
echo order hosts, bind > /var/run/resolv.conf
cat /etc/resolv.conf.new >> /etc/resolv.conf
While is can only be considered a dirty hack, I'm not sure it's the real solution to the problem.
After making the change connection seems to work better on the LAN. There are still situations though when fetching the directory content is very slow from Finder.
The hack is not an option at all when I'm on a VPN connection. I assume that this is due to the fact that /etc/resolv.conf might not be used for the VPN connection.
I'm counting on 10.6.2 🙂