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

Re: why the IPV6 looking hostname prior to reboot?



On Sun, 2008-10-05 at 14:43 -0700, Fred Silsbee wrote:
> 127.0.0.1               localhost.localdomain localhost localhost

The above has an error, albeit one that shouldn't have any adverse
consequences.  There's no reason that localhost should be written twice.
This seems to be some bug introduced by Fedora 9.  The following is all
that's needed:

127.0.0.1  localhost.localdomain  localhost

This can also be a problem, a second local loopback line:

> 127.0.0.1               abc777

Firstly, it's been problematic, for a long time, to jam host names into
the local loopback addresses line.  Hostnames should really be applied
to addresses that can be reached by other devices on the LAN, e.g. if
your LAN IP is 192.168.1.12, then that's the IP that should be
associated with your hostname.  Though, if you are going to associate a
hostname with the loopback addresses, e.g. because you have a PC that is
sometimes completely disconnected, then it should be sufficient to just
prepend it to the first line.

e.g. 127.0.0.1  localhost.localdomain  localhost  abc777


-- 
[tim localhost ~]$ uname -r
2.6.26.5-45.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.




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