so that localhost.localdomain is the canonical hostname for
localhost.localdomain and localhost
and nanook.nanooksdomain is the canonical hostname for nanook.nanooksdomain and
nanook.
Obviously, if the machine has a permanent network adapter with a static IP
address then
the latter IP address should be used instead of 127.0.1.1.
In any case, I hope that Debian and Ubuntu adopt the same policy on this issue.
> e.g, standard Debian: localdomain localhost nanook
> 127.0.0.1 nanook localhost
>
> vs Ubuntu:
> 127.0.0.1 localhost.
The latter is also how Debian sarge sets up /etc/hosts.
This won't be changed for sarge.
I believe that a better solution is
127.0.0.1 localhost. localdomain localhost nanooksdomain nanook
127.0.1.1 nanook.
so that localhost. localdomain is the canonical hostname for localdomain and localhost nanooksdomain is the canonical hostname for nanook. nanooksdomain and
localhost.
and nanook.
nanook.
Obviously, if the machine has a permanent network adapter with a static IP
address then
the latter IP address should be used instead of 127.0.1.1.
In any case, I hope that Debian and Ubuntu adopt the same policy on this issue.