I have reordered fragments quoted below.
On 15/09/2026 7:34 am, Vincent Lefevre wrote:
BTW, following the suggestion of the no-aaaa option done by someone
here, which I then suggested in my ticket[*], a "options no-aaaa" line
has been added to /etc/resolv.conf, and there is no longer any issue.
Does it mean that you can not try some scenarios related to the issue
any more? Since you mentioned NetworkManager, do you have enough
permissions to create another connection without "no-aaaa"?
On 2026-09-14 00:06:06 +0700, Max Nikulin wrote:
I suggest you to change the bug title to make the issue specific to nscd.
I'm wondering whether this would be redundant: the bug is in the
nscd component, so that's implied.
You are right, it is redundant and I did not notice the component field.
However, I am afraid, the issue may appear in search results without
component.
It is not unusual for projects to have constantly growing backlog. You
need to convince developers that your issue is important and should be
prioritized.
Currently your issue
34606 "getaddrinfo with AF_UNSPEC sometimes returns only the IPv6 address"
may be perceived as a kind of duplicate for
26601 "getaddrinfo()/AF_UNSPEC: resolver does not try next DNS if
SERVFAIL received for IPv4"
I would consider something like
"nscd may ignore negative-time-to-live for host when A or AAAA AF_UNSPEC
query fails"
To my taste your description of the issue is excessively generic.
Personally I prefer more specific scenarios like
Sometimes I am getting obscure errors like
[example chosen to avoid details on disabled IPv6]
wget http://42.be
--2026-09-08 19:32:28-- http://42.be/
Resolving 42.be (42.be)... 2001:470:1f15:29a::1
Connecting to 42.be (42.be)|2001:470:1f15:29a::1|:80... failed: Network
is unreachable.
that persist at least for an hour. This machine does not have global
IPv6 routing, but errors may happen for hosts having IPv4 address
dig 42.be
[command output]
It seems, DNS servers received through DHCP, currently may return
SERVFAIL if requested resource record is not in their cache
[ date; dig ...; date; dig ...; to demonstrate the DNS issue ]
I expect that wget should try the IPv4 address a minute later when
negative result for A query is expired in the nscd cache.
etc.
BTW, a SERVFAIL is *not* a timeout. It is always obtained immediately.
It may be a bug either in the code or in the DNS server configuration. I
expect to get immediate SERVFAIL only if it is cached due to an earlier
query. Otherwise it should require some time to wait for response from
parent servers.