This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/12994] getaddrinfo fails if response records returned in wrong order and one of them is server failure
- From: "karme at karme dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 06 Nov 2012 11:49:19 +0000
- Subject: [Bug network/12994] getaddrinfo fails if response records returned in wrong order and one of them is server failure
- Auto-submitted: auto-generated
- References: <bug-12994-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12994
--- Comment #5 from karme at karme dot de 2012-11-06 11:49:19 UTC ---
I now believe packet re-ordering is not enough to reproduce the problem. I have
written a small dns proxy for better testing. The simplest scenario to
reproduce the problem is to drop all a record requests and just answer the aaaa
request.
Answer for getaddrinfo with hints.ai_family = AF_UNSPEC is then error: r=-2
Name or service not known.
Traffic is like:
12.786202 127.0.0.1 -> 127.0.0.1 DNS 68 Standard query 0x9f5f A karme.de
12.786962 127.0.0.1 -> 127.0.0.1 DNS 68 Standard query 0x77c8 AAAA
karme.de
14.896700 127.0.0.1 -> 127.0.0.1 DNS 119 Standard query response 0x77c8
17.788941 127.0.0.1 -> 127.0.0.1 DNS 68 Standard query 0x9f5f A karme.de
22.794223 127.0.0.1 -> 127.0.0.1 DNS 68 Standard query 0x9f5f A karme.de
--
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.