Newsgroups: comp.unix.sco.misc From: bill@wjv.com (Bill Vermillion) Subject: Re: Login prompt very slow Message-ID: <G20tHI.19rJ@wjv.com> References: <8rivo7$ufn$1@nnrp1.deja.com>
<4.3.2.7.2.20001005212300.00dce100@scogr1.cscc.maximus.com>
<4.3.2.7.2.20001006074711.00ad7ad0@172.20.1.1>
<4.3.2.7.2.20001006133928.00dcdf00@scogr1.cscc.maximus.com> Date: Fri, 6 Oct 2000 18:17:42 GMT In article <4.3.2.7.2.20001006133928.00dcdf00@scogr1.cscc.maximus.com>, Ken Wolff <kenw@cscc.maximus.com> wrote: >At 01:22 PM 10/6/00 -0400, Tony Lawrence wrote: >>Just for the heck of it, I removed all other machine's IP >>addresses from a Corel box here and tried telnets and ftp's to >>it. *Most* of the time the delay was not long enough to cause >>any problem, but 3 times out of 10, telnet or ftp would fail and >>give up. That's on a local lan.. same problem, same solution.
>Correct. I'm aware of that. What I've always complained about >regarding this problem is that: >- If the IP of the remote machine is in /etc/hosts...... and >- If resolv.conf contains "hostresorder local bind"..... and >- If your internet connection goes down (no DNS).... >= you get a delay. > >To quote 'man resolv.conf' > For example, the following line specifies a lookup > order of NIS, DNS, and finally the /etc/hosts file. All > databases will be tried until a match is found. > hostresorder nis bind local >...wrong. All databases will be tried even if matches are found. Or >at least that seems to be the situation. The problem is the machine you are trying to connect TO need to look up the entry, and the target machine has no clue as to /etc/hosts on the Unix side. I'm also assuming that your target machine uses DNS using the ISP's DNS so that it will time out trying to find that information.
The man is correct, the Unix system will look in the files in the order in which you specify. hostresorder local bind witll go to /etc/hosts and then to DNS - ON THE UNIX MACHINE - not the targe. -- Bill Vermillion - bv @ wjv . com
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar