Re: Search order for lookups
From: C. Linus Hicks (lhicks_at_nc.rr.com)
To: General Red Hat Linux discussion list <firstname.lastname@example.org> Date: Mon, 06 Dec 2004 23:36:58 -0500
On Mon, 2004-12-06 at 22:07 -0500, Mathieu Legare wrote:
> Selon Larry D Sorensen <email@example.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 <firstname.lastname@example.org> -- redhat-list mailing list unsubscribe mailto:email@example.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list