This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/14413] nsswitch doesn't implement getaddrinfo(), plugins cannot provide full getaddrinfo features


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]