/etc/hosts + resolvconf (was Re: associating names and addresses)
On Mon, Mar 24, 2008 at 09:21:22AM -0700, firstname.lastname@example.org wrote:
> Douglas & anyone else interested,
> At Sun, 16 Mar 2008 20:12:44 -0400 Douglas Tutty wrote,
> >> # /etc/hosts file
> >> 127.0.0.1 peasthope.yi.org joule localhost
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > this should be: localhost.localdomain localhost
> >if you don't own peasthope.yi.org, then I wouldn't use it even locally.
Mmmm, ... I have:
root@box:~# less /etc/hosts
127.0.0.1 box localhost
> Well now I see that the correct solution to
> the original problem was to leave /etc/hosts
> with the line
> 127.0.0.1 localhost.localdomain localhost
> and install resolvconf. Unfortunately, this
> was not recognized at the time and the message
> from Xfce was misleading.
root@box:~# apt-cache policy resolvconf
So thats ok? But If resolvconf is installed then /etc/hosts should be:
127.0.0.1 localhost.localdomain localhost
Is that correct?