Mailinglist Archive: opensuse-factory (355 mails)

< Previous Next >
Re: [opensuse-factory] Re: getent hosts localhost -> ::1
On Mon, Mar 9, 2020 at 9:06 AM Andrei Borzenkov <arvidjaar@xxxxxxxxx> wrote:

Welcome to the wonderful world of systemd-resolved ...

It actually never asks the network for that name, answers for name
localhost are hardcoded in the daemon so queries never leave the local
system (resolved does not answer queries from anywhere but those from
packets recieved in the lo interface, not just having source or
destination or ::1)

They shouldn't even reach systemd-resolved..resolv should have that
hardcoded and do not ask anywhere else, again this is not required by
any standard but should be there for sanity..browsers among other
things trust localhost to always be the local machine..dns could tell
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >