On Tue, Jun 09, 2020 at 07:08:01PM +0200, Jérémy Lal wrote:
> Le mar. 9 juin 2020 à 18:37, gregor herrmann <gre...@debian.org> a écrit :

> >     # unshare -n
> >     # ip li set lo up
> >     # ip li add dummy0 type dummy
> >     # ip li set dummy0 up

> Thanks, it doesn't yield the exact same conditions, though ?
> Error: getaddrinfo ENOTFOUND localhost
> 
> Is there a way to keep the localhost dns resolution ?

You're probably missing this standard entry in /etc/hosts:

::1     localhost ip6-localhost ip6-loopback

Hope this helps,
-- 
Niko

Reply via email to