Steve Peltz wrote:
>machine B has NO /etc/resolv.conf fileSteve, I like the way that this sounds -- I didn't even know about nsswitch.conf -- just looked at it
>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.
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