This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/14413] nsswitch doesn't implement getaddrinfo(), plugins cannot provide full getaddrinfo features
- From: "psimerda at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 02 Jun 2014 08:32:32 +0000
- Subject: [Bug network/14413] nsswitch doesn't implement getaddrinfo(), plugins cannot provide full getaddrinfo features
- Auto-submitted: auto-generated
- References: <bug-14413-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=14413
--- Comment #4 from Pavel Åimerda <psimerda at redhat dot com> ---
Hi Alexandre,
1) scope_id
There are name services that are capable of returning IPv6 link local addresses
such as Multicast DNS. Those IPv6 link local addresses don't work as expected,
though, as they miss the scope_id.
2) AI_ADDRCONFIG
There are name resolution protocols that should avoid querying for IPv4/IPv6
data according to the system configuration when AI_ADDRCONFIG is set. On the
other hand, for literal address translations, Multicast DNS and /etc/hosts,
this is counter-productive, see the linked bug reports.
3) __nss_gethostbyname*
The gethostbyname4 features are not superset of gethostbyname3 features which
means the API is not satisfactory whichever of them is used.
--
You are receiving this mail because:
You are on the CC list for the bug.