Search order for lookups

Marco A. Ramos mramos at sanyoval.net
Tue Dec 7 03:10:22 UTC 2004


I believe, that by default the server check first the hosts file before then
the DNS.

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Mathieu Legare
Sent: Monday, 06 December, 2004 7:07 PM
To: General Red Hat Linux discussion list
Subject: Re: Search order for lookups


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


have a nice day,

-mat

-------------------------------------------------
Courriel expédié via https://courriel.uqtr.ca

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list