Search order for lookups

Schott, Erik J Mr ANOSC/FCBS erik.schott-FCBS at NETCOM.ARMY.MIL
Tue Dec 7 15:52:33 UTC 2004


Hi Larry.  The file you want is /etc/nsswitch.conf and the entry you want to
make is:

#more /etc/nsswitch.conf

<...snip...>
hosts:	files dns
<...snip...>

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Larry D Sorensen
Sent: Monday, December 06, 2004 7:48 PM
To: redhat-list at redhat.com
Subject: Search order for lookups


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?

Lsorensen

-- 
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