resolv.conf - hosts

Brian Henning henninb at gmail.com
Thu Nov 18 14:09:54 PST 2004


On Thu, 18 Nov 2004 14:06:33 -0800 (PST), Bill Schoolcraft
<bill at wiliweld.com> wrote:
> At Thu, 18 Nov 2004 it looks like Brian Henning composed:
> 
> 
> 
> > Greetings All:
> >
> > Is it possible to add a line above that name server entries in the
> > resolv.conf file that will tell the system to check the hosts file for
> > a resolution before querying the dns server(s)?
> 
> That is normally done in /etc/nsswitch.conf
> 
> --
> Bill Schoolcraft
> PO Box 210076
> San Francisco,CA 94121
> http://billschoolcraft.com
> 
> "We can find no wealth above a healthy body and a happy heart."
> 
> 


I am running FBSD 4.10, does the /etc/nsswitch.conf file work on
freebsd 4.10 or is it just for 5.X?


More information about the freebsd-questions mailing list