Re: hostname?
On Fri 04 Oct 2019 at 16:04:11 (-0400), Dan Ritter wrote:
> ghe wrote:
> > On 10/4/19 1:36 PM, Dan Ritter wrote:
> >
> > root@pix:~# cat /etc/hostname
> > sbox
>
> This is good.
>
> > > /etc/hosts
> >
> > root@pix:~# cat /etc/hosts
>
> ...
>
> > 127.0.0.1 localhost.localdomain localhost lh lcl
>
> this is fine. Some mechanisms like to pick up a non-localhost
> name in 127/8 and pretend it's the hostname.
Would it help to have
127.0.1.1 preferred-hostnames
in /etc/hosts? Or is that for resolving "the other way round"?
Cheers,
David.
Reply to: