What is /etc/host.conf

linuxguy at ici.net linuxguy at ici.net
Tue Jun 19 22:28:53 EDT 2001


I thought that was the job of /etc/nsswitch.conf

me wrote:
> On Tue, 19 Jun 2001 linuxguy at ici.net wrote:
> 
> >
> > On RedHat 6.x & 7.x there's this /etc/host.conf file....
> >
> > What uses it?
> 
> Programs that access DNS information.  One example is nslookup.  The
> /etc/hosts.conf specifies the database search order.  A common file is:
> 
>     order hosts,bind
> 
> IIRC, this tells nslookup (or, more specifically, gethostbyname()) to
> search your local database followed by an actual DNS server.  The local
> database is stored in /etc/hosts.
> 
> ~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/  (___)  \|/ _,.-=~'`^`
>                           Brian Medley         @~./'O o`\.~@
> "Knowledge is Power"  bmedley at mediaone.net    /__( \___/ )__\  *PPPFFBT!*
>   -- Francis Bacon                               `\__`U_/'
>  _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
> ~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`
> 


-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list