Mailinglist Archive: opensuse-factory (355 mails)

< Previous Next >
Re: [opensuse-factory] getent hosts localhost -> ::1
07.03.2020 12:19, Per Jessen пишет:
Michael Strc3b6der wrote:

On 3/6/20 3:41 PM, Per Jessen wrote:
Michael Strc3b6der wrote:
After upgrade to Tumbleweed 20200304 host name localhost insists on
IPv6 address no matter what's in /etc/hosts:

# getent hosts localhost
::1 localhost

I see the same, but in 20200229. Actually, also in 42.3 :-)

How does the content of your /etc/hosts look like?


Just like yours

No, you have ::1 for localhost and Michael does not.

- this is from my 42.3 laptop :

127.0.0.1 localhost

# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
^^^^^^^^^^^^^^^^^^^^^^^^^^^

that is where it comes from in your case.


fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts



--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups