Date: Thu, 18 Nov 2004 12:57:44 -0800 From: Charlie Schluting <charlie@schluting.com> To: FreeBSD Questions <questions@freebsd.org> Subject: Re: resolv.conf - hosts Message-ID: <419D0CC8.2010308@schluting.com> In-Reply-To: <47f8d9310411181243ef6862d@mail.gmail.com> References: <47f8d9310411181243ef6862d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Brian Henning wrote: > 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)? > > Thanks, > Depending on your version of freebsd, nsswitch.conf will have: hosts: files dns If you don't have /etc/nsswitch.conf ...I don't know how it was done before that was introduced/brought back. -Charlie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?419D0CC8.2010308>