This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12684] New: Multi-request DNS lookups do not properly fall back to secondary nameserver
- From: "pasky at suse dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 19 Apr 2011 15:28:32 +0000
- Subject: [Bug libc/12684] New: Multi-request DNS lookups do not properly fall back to secondary nameserver
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12684
Summary: Multi-request DNS lookups do not properly fall back to
secondary nameserver
Product: glibc
Version: 2.13
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper.fsp@gmail.com
ReportedBy: pasky@suse.cz
Created attachment 5678
--> http://sourceware.org/bugzilla/attachment.cgi?id=5678
proposed patch
The resolver does not properly handle a case where AF_UNSPEC query is started,
two requests are therefore dispatched, and something like NOTIMP or SERVFAIL is
returned to one of them (e.g. AF_INET6). In this case, the second nameserver in
queue is not queried even though it should be. It is caused by an omission of
resplen = 0 in the appropriate branch of send_dg() - therefore, when checking
whether next nameserver should be queried, it is assumed that a proper reply
was received from the first one.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.