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

Re: ipv6 maybe has arrived.



	Hi.

On Wed, Feb 15, 2023 at 07:30:44AM -0500, Greg Wooledge wrote:
> That said, I'm curious about this part oF Gene's result:
> 
> > > gene@bpi54:~$ grep -i bpi54 /etc/hosts
> > > 192.168.71.12               bpi54.coyote.den        bpi54
> > > gene@bpi54:~$ getent hosts bpi54
> > > fe80::4765:bca4:565d:3c6 bpi54
> 
> Where does getent pull that IPv6 address from?

libnss-myhostname does that.
Why it chooses ipv6 link-local over ipv4 static IP is another question.

Much better question is - what exactly one should put into /etc/hosts so
that it would be completely ignored? 


> That's not what I get when I look myself up:

Maybe because *your* /etc/hosts is not malformed?

Reco


Reply to: