This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/11950] res_send fails with ETIMEDOUT on successful DNS UPDATE
- From: "dos at scarff dot id.au" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 19 Oct 2013 23:49:13 +0000
- Subject: [Bug network/11950] res_send fails with ETIMEDOUT on successful DNS UPDATE
- Auto-submitted: auto-generated
- References: <bug-11950-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=11950
--- Comment #4 from Dean Scarff <dos at scarff dot id.au> ---
Thanks Florian - I realize it's a little optimistic expecting the resolver
library to work for non-QUERY messages.
However, I think there's already some separation in the resolver's high-level
routines (res_query and res_search) and res_send; the latter seems intended to
be message-agnostic. I think it's valuable for users of glibc if res_send can
preserve its generality - and doing so here is a small change. Please consider
this patch. :)
For portability I ended up implementing my own code for sending DNS messages
over sockets (years ago - this is quite an old bug!), just as you suggested.
But it's a shame since it duplicates much of the functionality already present
in most implementations of res_send.
--
You are receiving this mail because:
You are on the CC list for the bug.