Dan Farrell wrote: > 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. >
You are correct. It has that exact line in the nsswitch.conf file. Someone tried to explain the "lookup" thing but it just went over my head. I know when I go to google for example that it goes to a DNS server to get the IP to know where to go to. I just never could figure why it did that when it has the number already. I just know that adding that to the host file worked like a charm. I'm still curious as to why the OP is having this problem. I suspect, like me all the time, it will be something pretty simple. We always find the complicated stuff. LOL Dale :-) :-) :-)

