[4179] in RedHat Linux List
nsswitch.conf (Was: RE: RedHat 4.0, diald, and PPP 2.2.0f)
daemon@ATHENA.MIT.EDU (Wayne Dyer)
Wed Nov 13 02:50:28 1996
Date: Tue, 12 Nov 1996 18:14:28 -0800
From: Wayne Dyer <dwdyer@eskimo.com>
To: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.95.961112111123.16093C-100000@helix.cs.cuc.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Elliot Lee <sopwith@cuc.edu> sez:
>
> /etc/hosts.conf is not used. /etc/nsswitch.conf is the relevant config
> file, and it is usually correct unless you manually change it. Check
> /etc/resolv.conf also.
Whoa, I think this may be the source of my sendmail-does-dnslookups
problem. I'm wrasslin' with it and diald -- I'd like sendmail to
play nice with DNS until I flush the queue. Thumbing through the Bat
Book and the sendmail docs, I came across the idea of a services.switch
file, and nsswitch.conf seems to fit the bill. (How come I never
noticed this before? Is this a newish thing for Linux?)
Anyway, where can I find out more about how this thang works? (i.e.,
when it says "hosts: files nisplus nis dns" I assume this means
that local files should be checked first, then nisplus, then nis,
then resort to dns. Which local files are being referred to?)
--
Wayne Dyer :: dwdyer@eskimo.com :: http://www.eskimo.com/~dwdyer/
"Never stay up on the barren heights of cleverness, but come down
into the green valleys of silliness. " -- Wittgenstein
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null