Re: Search order for lookups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-12-06 at 22:07 -0500, Mathieu Legare wrote:
> Selon Larry D Sorensen <larry.sorensen@xxxxxxxx>:
> 
> > 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@xxxxxxxxx>

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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux