diff options
author | Greg Schafer <greg@linuxfromscratch.org> | 2004-01-18 01:07:23 +0000 |
---|---|---|
committer | Greg Schafer <greg@linuxfromscratch.org> | 2004-01-18 01:07:23 +0000 |
commit | 0afaac44efd04c0be6ee22cc4cdeed94736d4e5d (patch) | |
tree | 62ffa7cc5a171025b0196e1a03556f817debe3f7 /chapter07 | |
parent | 51fe2150ea982ef1b9f20f4387a2c77313727b13 (diff) |
Chapter 7 - Creating the /etc/hosts file: Amended example domain
names to comply with RFC 2066. Closes 742. From Anderson Lizardo.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/hosts.xml | 10 |
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><IP address> myhost.mydomain.org aliases</screen> +<screen><IP address> 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 > /etc/hosts << "EOF"</userinput> # Begin /etc/hosts (no network card version) -127.0.0.1 <value of HOSTNAME>.mydomain.com <value of HOSTNAME> localhost +127.0.0.1 <value of HOSTNAME>.example.org <value of HOSTNAME> localhost # End /etc/hosts (no network card version) <userinput>EOF</userinput></screen> @@ -40,13 +40,13 @@ correctly.</para> <screen><userinput>cat > /etc/hosts << "EOF"</userinput> # Begin /etc/hosts (network card version) -127.0.0.1 localhost.localdomain localhost -192.168.1.1 <value of HOSTNAME>.mydomain.org <value of HOSTNAME> +127.0.0.1 localhost +192.168.1.1 <value of HOSTNAME>.example.org <value of HOSTNAME> # End /etc/hosts (network card version) <userinput>EOF</userinput></screen> -<para>Of course, the 192.168.1.1 and <value of HOSTNAME>.mydomain.org +<para>Of course, the 192.168.1.1 and <value of HOSTNAME>.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> |