Search order for lookups
C. Linus Hicks
lhicks at nc.rr.com
Tue Dec 7 04:36:58 UTC 2004
On Mon, 2004-12-06 at 22:07 -0500, Mathieu Legare wrote:
> Selon Larry D Sorensen <larry.sorensen at juno.com>:
>
> > I would like to set up my server to look at its own /etc/hosts file
> > before it searches the DNS. How do I do this?
>
> vi /etc/hosts.conf
>
> order hosts,bind
On the Red Hat systems I'm used to, it's /etc/nsswitch.conf where you'll
see a line that starts with "hosts:".
--
C. Linus Hicks <lhicks at nc.rr.com>
More information about the redhat-list
mailing list