Sourceware Bugzilla – Bug 14413
nsswitch doesn't implement getaddrinfo(), plugins cannot provide full getaddrinfo features
Last modified: 2012-07-31 18:43:31 UTC
GLIBC's name service switch doesn't provide a way to override getaddressinfo()
which is the only function that supports IPv6 link-local addresses.
IPv6 link-local addresses don't work without the interface name (when
written as text) that then translates to scope id.
This is actually needed for link-local name resolution (whatever NSS plugin is used for it then).
There's another usecase for getaddrinfo() in nsswitch and that is avoiding problems caused by solutions to bug 12377 including bug 12398. See discussions
in these two bug reports.