Files
oldlinux-files/docs/Install-Guide/install-guide-2.2.2/node213.html
2024-02-19 00:23:35 -05:00

42 lines
2.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
<!Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
<HEAD>
<TITLE>5.3.2.5 /etc/host.conf</TITLE>
</HEAD>
<BODY>
<meta name="description" value="5.3.2.5 /etc/host.conf">
<meta name="keywords" value="gs">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
<BR> <HR><A NAME=tex2html4509 HREF="node214.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4507 HREF="node208.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4501 HREF="node212.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4511 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4512 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html4510 HREF="node214.html">5.3.2.6 /etc/resolv.conf</A>
<B>Up:</B> <A NAME=tex2html4508 HREF="node208.html">5.3.2 Configuring TCP/IP on </A>
<B> Previous:</B> <A NAME=tex2html4502 HREF="node212.html">5.3.2.4 /etc/networks</A>
<BR> <HR> <P>
<H3><A NAME=SECTION00732500000000000000>5.3.2.5 /etc/host.conf</A></H3>
<P>
<A NAME=6094>&#160;</A>
<A NAME=6095>&#160;</A>
This file is used to specify how your system will resolve hostnames.
It should contain the two lines:
<P><TT> <PRE>order hosts,bind
multi on
</PRE> <P></TT>
These lines tell the resolve libraries to first check the
<tt>/etc/hosts</tt> file for any names to lookup, and then ask the nameserver
(if one is present). The <tt>multi</tt> entry allows you to have multiple
IP addresses for a given machine name in <tt>/etc/hosts</tt>.
<P>
<BR> <HR><A NAME=tex2html4509 HREF="node214.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4507 HREF="node208.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4501 HREF="node212.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4511 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4512 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html4510 HREF="node214.html">5.3.2.6 /etc/resolv.conf</A>
<B>Up:</B> <A NAME=tex2html4508 HREF="node208.html">5.3.2 Configuring TCP/IP on </A>
<B> Previous:</B> <A NAME=tex2html4502 HREF="node212.html">5.3.2.4 /etc/networks</A>
<BR> <HR> <P>
<BR> <HR>
<P><ADDRESS>
<I>Matt Welsh <BR>
mdw@sunsite.unc.edu</I>
</ADDRESS>
</BODY>