Marc Haber <mh+debian-packa...@zugschlus.de> writes:

> On Wed, May 26, 2021 at 11:52:10PM +0200, Rémi Letot wrote:
>> getsockname(6, {sa_family=AF_INET6, sin6_port=htons(25), 
>> sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "::1", &sin6_addr), 
>> sin6_scope_id=0}, [28]) = 0
>> clone(child_stack=NULL, 
>> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
>> child_tidptr=0x7faf36b64c50) = 706004
>> close(6)                                = 0
>> close(7)                                = 0
>> select(6, [3 4 5], NULL, NULL, NULL
>> 
>> waits 10 seconds here
>
> Is your IPv6 setup ok?

I think so, but I'm no specialist, so see for yourself :-)

> Do you have ::1 on lo?

yep:

hobbes@sphax:~$ ip addr 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever


> Are the IPv6 specific entries for localhost present in /etc/hosts?

seems so:

hobbes@sphax:~$ grep localhost /etc/hosts
127.0.0.1       localhost
::1     localhost ip6-localhost ip6-loopback

> Is your local resolver configured to use /etc/hosts?

I guess so because I do have some hosts configured in /etc/hosts and dns
resolution (for those or others) is instantaneous.

Thanks,
--
Rémi

Reply via email to