aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/network.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/network.xml')
-rw-r--r--chapter07/network.xml23
1 files changed, 23 insertions, 0 deletions
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>