On 11/28/05, Alexander Kirillov <[EMAIL PROTECTED]> wrote:
> >>The local resolver lib will use either /etc/hosts file or dns queries in
> >>the order defined in your /etc/host.conf
> >
> > You mean /etc/nsswitch.conf?
>
> I probably do. Is /etc/host.conf still of any use?

Actually, I'm not sure.  I've always edited nsswitch.conf to get it to
do what I want, with good results.

I see with strace that when I ping <somehost>, both nsswitch.conf and
host.conf are opened.  The man pages don't reveal anything about their
relationship, so I guess I'll have to take a look at the glibc sources
tonight.

-Richard

-- 
gentoo-user@gentoo.org mailing list

Reply via email to