Product SiteDocumentation Site

7.15. Setting the Hostname

Fedora contains support for both IPv4 and IPv6. However, by default, the installation program configures network interfaces on your computer for IPv4, and to use DHCP via NetworkManager. Currently NetworkManager does not support IPv6. If your network only supports IPv6 you should use system-config-network after installation to configure your network interfaces.
Setup prompts you to supply a host name and domain name for this computer, in the format hostname.domainname. Many networks have a DHCP (Dynamic Host Configuration Protocol) service that automatically supplies connected systems with a domain name, leaving the user to enter a hostname.
Unless you have a specific need to customize the host name and domain name, the default setting localhost.localdomain is a good choice for most users.
Setting the hostname
Setting the hostname
Figure 7.22. Setting the hostname

To set up a network that is behind an Internet firewall or router, you may want to use hostname.localdomain for your Fedora system. If you have more than one computer on this network, you should give each one a separate host name in this domain.

Valid Hostnames

You may give your system any name provided that the full hostname is unique. The hostname may include letters, numbers and hyphens.
On some networks, the DHCP provider also provides the name of the computer, or hostname. The complete hostname includes both the name of the machine and the name of the domain of which it is a member, such as machine1.example.com. The machine name (or "short hostname") is machine1, and the domain name is example.com.
If your Fedora system is connected directly to the Internet, you must pay attention to additional considerations to avoid service interruptions or risk action by your upstream service provider. A full discussion of these issues is beyond the scope of this document.

Modem Configuration

The installation program does not configure modems. Configure these devices after installation with the Network utility. The settings for your modem are specific to your particular Internet Service Provider (ISP).