Question on /etc/hosts

Timothy Murphy gayleard at
Tue Jul 6 02:15:09 UTC 2010

Joel Rees wrote:

>> Should the entry from the machine in question
>> be given under
>> or under its IP address on the local LAN?
> I've done both in the past, and both at the same time. Fedora
> currently seems to work okay with only one of those specified, I'm
> currently putting the host's own name and aliases only on the
> line, before localhost.
> Actually, I'm not sure if I did that or if anaconda did that for me.
> But it seems to function okay.

I've followed the general advice here,
and gone over to using the local IP address with the machine name.

One advantage of this is that I can then have exactly the same
/etc/hosts on all machines, which saves a bit of time.

Timothy Murphy  
e-mail: gayleard /at/
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

More information about the users mailing list