From: Bruce Allen <ballen@dirac.phys.uwm.edu>
Subject: Re: why is rsh so slow the second time?
Date: 1998/06/03 [thread overview]
Message-ID: <35753A20.AD565C0C@dirac.phys.uwm.edu> (raw)
In-Reply-To: 6l1lme$h9i$1@jaka.ece.uiuc.edu
[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]
Steve Peltz wrote:
> >machine B has NO /etc/resolv.conf file
> >machine B has /etc/host.conf reading:
> > order hosts
> > multi on
> >so I have deliberately turned off any DNS services. Is this what is
> >causing my slow response?
>
> What about nsswitch.conf? I believe host.conf is not used at all by the
> newer resolver library (in glibc), regardless of what the man pages may
> say.
Steve, I like the way that this sounds -- I didn't even know about
nsswitch.conf -- just looked at it
for the first time. Could you tell me where it is used (I can't find it
refered to in either man pages
or in /etc/rc.d/*/*. Here it the file on my machine:
passwd: files nisplus nis
shadow: files nisplus nis
group: files nisplus nis
hosts: files nisplus nis dns
services: nisplus [NOTFOUND=return] files
networks: nisplus [NOTFOUND=return] files
protocols: nisplus [NOTFOUND=return] files
rpc: nisplus [NOTFOUND=return] files
ethers: nisplus [NOTFOUND=return] files
netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
netgroup: nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus
As you have probably guessed, we are not using either NIS or NISPLUS. So
do I assume correctly that
I should put "files" as the first entry on each line and eliminate
everything else? Could you tell me what
the [NOTFOUND=return] lines mean?
Cheers,
Bruce
[-- Attachment #2: Type: text/html, Size: 2030 bytes --]
prev parent reply other threads:[~1998-06-03 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-25 4:00 why is rsh so slow the second time? Bruce Allen
1998-05-26 4:00 ` Christoph Nadig
1998-05-26 4:00 ` Bruce Allen
1998-05-27 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-06-02 4:00 ` Steve Peltz
1998-06-03 4:00 ` Bruce Allen [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox