[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Caldera Horror!
On Tue, 26 Nov 2002, Chris J wrote:
> >
> > Never used it. A quick change to nsswitch.conf would have done it on my
> > system. Changeing
> >
> > hosts: dns files
> >
> > to
> >
> > hosts: files dns
> >
>
> If not nsswitch.conf, there's also host.conf ...
>
> order hosts,bind
> multi on
>
> is what mine reads.
>
> Now I'm not sure which file takes precedence ... :)
It depends on the application, and how it does lookups. nsswitch.conf is
for the C library resolver routines, which are sufficient for most
applications. host.conf is for the resolver library, which means things
like your SMTP server (the libc routines don't allow MX lookups, for
example).
Cheers
R
--
Richard Stevenson
Systems Specialist
Xtra Limited
http://xtra.co.nz
Email: richard.stevenson [at] team.xtra.co.nz
Phone: +64 9 3555231
Mobile: +64 25 2903101
Fax: +64 9 3555260
Pager: +64 26 100155
This email is for the person(s) identified above, and is confidential to
the sender and the person(s). No one else is authorised to use or
disseminate this email or its contents. The email or its contents do not
necessarily represent the views of Xtra Limited or Telecom.
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.