RE: Changing hostname?

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



> 
> 127.0.0.1       localhost.localdomain    localhost   calimero.local
> calimero
> 
> Best Regards
> Marcus

Marcus,

Per "man hostname"

FILES
       /etc/hosts /etc/sysconfig/network

NOTE
       Note that hostname doesnât change anything permanently. After reboot
original names from /etc/hosts are used again.

:-)

Do you really think one should tie the hostname to the loopback interface in
the /etc/hosts file

We recommend that one should not tie the actual hostname or FQDN to the
loopback interface.

There are very few limited implementation or security seclusion cases where
you would want to consider doing that

It should look like this as example in /etc/hosts

127.0.0.1	localhost.localdomain localhost calimero.local

x.y.z.a	calimero.some123domain.com calimero

if the machine is not talking to another machine via network, then the
hostname doesn?t really matter too much now does it?

Put a sticker on it.

;-)

Production server examples can be provided if you are having major issues.

 - rh

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux