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 nscd/15862] nscd doesn't cache record containing more than one IP address.


https://sourceware.org/bugzilla/show_bug.cgi?id=15862

--- Comment #3 from Alexandre Oliva <aoliva at sourceware dot org> ---
Created attachment 7597
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7597&action=edit
Use nscd in getaddrinfo before falling back to gethostbyname2_r

This patch makes getaddrinfo try an nscd query before falling back to
gethostbyname_r, so that getaddrinfo results get consistently cached when using
nscd.  This may obviate the previous patch, at least when it comes to programs
using getaddrinfo even for IPv4 lookups.

-- 
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]