HOSTNAME from DNS name server

John L Fjellstad john-ubuntu at
Mon Jun 29 18:34:02 UTC 2009

Pieter Donche <Pieter.Donche at> writes:

> I would like to always have this hostname used.
> How can I make Ubuntu use the name from the DNS name server
> in the env.var. HOSTNAME  and nou use /etc/hostname at all ?

Used to be that you could just change the order in /etc/host.conf, but
it seems newer C libraries don't use it anymore...

John L. Fjellstad
web:          Quis custodiet ipsos custodes

More information about the ubuntu-users mailing list