Re: local host name changing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2004-09-11 at 15:36, Lonnie Cumberland wrote:
> Hello all,
> 
> Here is a dumb question I guess, but I have a host name that I want to 
> the localhost to but am not sure of all of the files that need to be 
> changed?
> 
> I do think that the /etc/hosts shold be changed but are there others as 
> well?
> 
> Thanks,
> Lonnie
> 
> 
The initial hostname is set in the file /etc/sysconfig/network.

Be aware that the networking startup scripts may obtain the hostname
from a DHCP server or DNS server (as a reverse lookup).

If you set the name to something in /etc/sysconfig/network, it is
probably a good idea to have that name appear in /etc/hosts (as you were
thinking), to ensure that your machine knows how to find itself.

HTH,

--Rob



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux