aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/hosts.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/hosts.xml')
-rw-r--r--chapter07/hosts.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml
index a3c71894e..5ef8e71b7 100644
--- a/chapter07/hosts.xml
+++ b/chapter07/hosts.xml
@@ -6,7 +6,7 @@
IP-address, FQDN and possible aliases for use in the /etc/hosts file. The
syntax is:</para>
-<screen>&lt;IP address&gt; myhost.mydomain.org aliases</screen>
+<screen>&lt;IP address&gt; myhost.example.org aliases</screen>
<para>You should make sure that the IP-address is in the private network
IP-address range. Valid ranges are:</para>
@@ -29,7 +29,7 @@ correctly.</para>
<screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"</userinput>
# Begin /etc/hosts (no network card version)
-127.0.0.1 &lt;value of HOSTNAME&gt;.mydomain.com &lt;value of HOSTNAME&gt; localhost
+127.0.0.1 &lt;value of HOSTNAME&gt;.example.org &lt;value of HOSTNAME&gt; localhost
# End /etc/hosts (no network card version)
<userinput>EOF</userinput></screen>
@@ -40,13 +40,13 @@ correctly.</para>
<screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"</userinput>
# Begin /etc/hosts (network card version)
-127.0.0.1 localhost.localdomain localhost
-192.168.1.1 &lt;value of HOSTNAME&gt;.mydomain.org &lt;value of HOSTNAME&gt;
+127.0.0.1 localhost
+192.168.1.1 &lt;value of HOSTNAME&gt;.example.org &lt;value of HOSTNAME&gt;
# End /etc/hosts (network card version)
<userinput>EOF</userinput></screen>
-<para>Of course, the 192.168.1.1 and &lt;value of HOSTNAME&gt;.mydomain.org
+<para>Of course, the 192.168.1.1 and &lt;value of HOSTNAME&gt;.example.org
have to be changed to your liking (or requirements if assigned an IP-address
by a network/system administrator and this machine is planned to be connected
to an existing network).</para>