This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/15862] nscd doesn't cache record containing more than one IP address.
- From: "aoliva at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 14 May 2014 07:51:54 +0000
- Subject: [Bug nscd/15862] nscd doesn't cache record containing more than one IP address.
- Auto-submitted: auto-generated
- References: <bug-15862-131 at http dot sourceware dot org/bugzilla/>
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.