On Tue, 27 Nov 2007 13:26:18 -0600
Dale <[EMAIL PROTECTED]> wrote:

> Just to add to this, I was using the IP address too and it was very
> slow.  This was also on a local network.  After adding the lines to my
> host files, it was fast no matter whether I used the name or the IP
> address.  I still don't understand why this matters tho.
> 
> Just a thought.
> 
> Dale

I am guessing your /etc/nsswitch.conf says:
hosts:  files dns

in this case, the /etc/hosts file will be consulted before the dns.  If
you provide an IP address, it will probably want to do a reverse lookup
to the name (for .ssh/known-hosts for one); if provided a domain name,
it will have to look it up.  
-- 
[EMAIL PROTECTED] mailing list

Reply via email to