On 2026-09-15 21:40:44 +0200, Marco Moock wrote:
> Am 08.09.26 um 15:30 schrieb Vincent Lefevre:
> > On 2026-09-08 14:44:07 +0200, Marco Moock wrote:
> > > Am 08.09.26 um 12:10 schrieb Vincent Lefevre:
> > > > So, if you want to reproduce the issue, set up a network
> > > > where DNS requests to the nameservers in /etc/resolv.conf
> > > > randomly fail. And (probably) use nscd.
> > > 
> > > How is that related to IPv6?
> > > If you have a faulty DNS setup, fix that first.
> > 
> > I don't see where it is faulty (to the point of getting the
> > observed behavior).
> > 
> > > /etc/resolv.conf is queried by the order of entries by default every
> > > time a request is being made.
> > 
> > strace does not show any access to this file when AF_UNSPEC is used.
> 
> Is nsswitch.conf being read?

No. For AF_UNSPEC, only /var/run/nscd/socket is accessed.
For AF_INET, /etc/resolv.conf and /etc/host.conf are read,
but /var/run/nscd/socket is eventually used.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to