Hostname funniness

Thomas Hood jdthood at aglu.demon.nl
Thu Nov 18 09:42:14 CST 2004


On Thu, 2004-11-18 at 14:54, Tollef Fog Heen wrote:
> It's a bug in debian-installer, it makes an /etc/hosts file similar to:
> 
> 127.0.0.1 localhost.localdomain localhost shonap.err.no shonap 
> 
> while it should rather read:
> 
> 127.0.0.1 shonap.err.no shonap localhost.localdomain localhost


This is not perfect either because it makes 'shonap.err.no' the
canonical hostname of "localhost".  This:

127.0.0.1 localhost.localdomain localhost
127.0.1.1 shonap.err.no shonap

is better in that respect.

-- 
Thomas Hood
                                                                     `-  




More information about the ubuntu-devel mailing list