5/30/2023 0 Comments Knockknock change hostname![]() ![]() Pretty hostname: The user-defined hostname.Transient hostname: How the network views your system.To minimize confusion, I list them here and provide basic information on each as well as a personal best practice: Modern Linux systems have three different types of hostnames configured. With DNS configured, your systems are smart enough to translate unique IPs into hostnames and back again, ensuring that there is little confusion in web communications. ![]() As this method did not scale with the transition into the world wide web era, DNS was a clear way forward. Anytime that a new computer was connected to your local network, all other computers on the network needed to add the new machine into the /etc/hosts file in order to communicate over the network. Before the invention of DNS, your computer's hostname was managed through the HOSTS file located at /etc/hosts. There are many ways to change your hostname in Linux however, in this article, I'll focus on changing your name as viewed by the network (specifically in Red Hat Enterprise Linux and Fedora). I have experienced multiple instances of companies changing the hostnames or IPs of storage servers and then wondering why their data replication broke. This information is especially important to make a note of when working on a remotely managed system. Hostnames are the designations by which we separate systems into easily recognizable assets. Your hostname is a vital piece of system information that you need to keep track of as a system administrator. How well do you know Linux? Take a quiz and get a badge.Linux system administration skills assessment.A guide to installing applications on Linux.Download RHEL 9 at no charge through the Red Hat Developer program. ![]()
0 Comments
Leave a Reply. |