This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Easy way to decode res_query/res_search returned packet.
- From: dE <de dot techno at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Mon, 16 Feb 2015 21:30:28 +0530
- Subject: Easy way to decode res_query/res_search returned packet.
- Authentication-results: sourceware.org; auth=none
Hi!
As we know, these 2 return a char array of the whole packet.
Is there any easy way to decode the packet to retrieve resource records?
I mean, going through the packet by hand is not easy... there must be
another way.
Thanks for any pointers.