Changes in chapter09/network.xml [a289860:ba40e32]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/network.xml
ra289860 rba40e32 179 179 </indexterm> 180 180 181 <para>Decide on the IP address, fully-qualified domain name (FQDN), and 182 possible aliases for use in the <filename>/etc/hosts</filename> file. The 183 syntax is:</para> 181 <para>Decide on a fully-qualified domain name (FQDN), and possible aliases 182 for use in the <filename>/etc/hosts</filename> file. If using static IP 183 addresses, you'll also need to decide on an IP address. The syntax 184 for a hosts file entry is:</para> 184 185 185 186 <screen><literal>IP_address myhost.example.org aliases</literal></screen> … … 198 199 range 0-255.</para> 199 200 200 <para>A valid private IP address could be 192.168.1.1. A valid FQDN for 201 this IP could be lfs.example.org.</para> 202 203 <para>Even if not using a network card, a valid FQDN is still required. 204 This is necessary for certain programs to operate correctly.</para> 201 <para>A valid private IP address could be 192.168.1.1.</para> 202 203 <para>If the computer is to be visible to the Internet, a valid FQDN 204 can be the domain name itself, or a string resulted by concatenating a 205 prefix (often the hostname) and the domain name with a <quote>.</quote> 206 character. And, you need to contact the domain provider to resolve the 207 FQDN to your public IP address.</para> 208 209 <para>Even if the computer is not visible to the Internet, a FQDN is 210 still needed for certain programs, such as MTAs, to operate properly. 211 A special FQDN, <literal>localhost.localdomain</literal>, can be used 212 for this purpose.</para> 205 213 206 214 <para>Create the <filename>/etc/hosts</filename> file by running:</para>
Note:
See TracChangeset
for help on using the changeset viewer.