aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2004-01-10 01:10:21 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2004-01-10 01:10:21 +0000
commit45340ae6d70e3ba561b5361458a88b7b4dcccc4d (patch)
tree7bdda6f23d1d678d6c3cafbf0434733c2e306983
parent1969ceae32f69bcc503324db753472427bd681d4 (diff)
Added instructions to create /etc/resolv.conf. Closes 733.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3158 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter07/network.xml23
2 files changed, 27 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index acff4509d..f56713540 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -50,6 +50,10 @@
</itemizedlist>
</listitem>
+<listitem><para>January 9th, 2004 [greg]: Chapter 7 - Configuring the network
+script: Added instructions to create /etc/resolv.conf. Closes
+733.</para></listitem>
+
<listitem><para>January 9th, 2004 [greg]: Chapter 8 - Making the LFS system
bootable: Added --no-mem-option to Grub command line in menu.lst to disable
Grub's insistence on passing mem= to the kernel. Closes 737.</para></listitem>
diff --git a/chapter07/network.xml b/chapter07/network.xml
index 609cf9185..a235e087f 100644
--- a/chapter07/network.xml
+++ b/chapter07/network.xml
@@ -60,5 +60,28 @@ and thus not brought up.</para>
</sect2>
+<sect2>
+<title>Creating the /etc/resolv.conf file</title>
+
+<para>If you're going to be connected to the internet then most likely you'll
+need some means of DNS name resolution to resolve internet domain names to IP
+addresses. This is best achieved by placing the IP address of a DNS server
+into <filename>/etc/resolv.conf</filename>. Create the file by running the
+following:</para>
+
+<screen><userinput>cat &gt; /etc/resolv.conf &lt;&lt; "EOF"</userinput>
+# Begin /etc/resolv.conf
+
+nameserver &lt;IP address of your nameserver&gt;
+
+# End /etc/resolv.conf
+<userinput>EOF</userinput></screen>
+
+<para>Of course, replace &lt;IP address of your nameserver&gt; with the IP
+address of the DNS server most appropriate for your setup. This will often be
+provided by your ISP or it may even be a router on your local network.</para>
+
+</sect2>
+
</sect1>