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 network/11950] res_send fails with ETIMEDOUT on successful DNS UPDATE


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]