Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAC5pKWDVRrp9+hwpZVVAaV7HB_H0uSaUESF6D6UxuvLAT9r7SQ@mail.gmail.com>
Date: Mon, 15 Sep 2025 16:44:50 +0200
From: Gal Luspam <galluspam@...il.com>
To: musl@...ts.openwall.com
Subject: getnameinfo waits timeout with no DNS configured

Hi,
I noticed that on a system without dns configuration, a call to
getnameinfo() will return only after timeout, even if dns queries sent
to 127.0.0.1:53 have a prompt "icmp port unreachable" reply.
This leads for example to the issue of slow output of some iptables
commands (see https://devnonsense.com/posts/slow-iptables-reverse-dns/
). This issue is not showing on systems with glibc.
Is this behaviour by design? Any hints?

Thank you
Paolo

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.