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

Bug#237779: /etc/hosts is wrong



On Sat, Mar 13, 2004 at 02:16:19PM +0100, Florian Effenberger wrote:
> Package: debian-installer
> Version: 20040310
> 
> /etc/hosts is wrong. At least with DHCP setup, I have the following:
> 
> 127.0.0.1    myhostname (without domain!)    localhost
> 
> But it should be:
> 
> 127.0.0.1    localhost
> 192.168.0.1 (or similar)    myhostname.mydomain    myhostname

but I don't think dhcp rewrite /etc/hosts, so next time you got a
different ip, /etc/hosts will be wrong.

I think the logic is the same for the domain. 

-- 
Thomas Poindessous




Reply to: