Subject: Re: resolver
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 05/27/2002 12:40:45
[ On Monday, May 27, 2002 at 17:15:24 (+0200), Wojciech Puchar wrote: ]
> Subject: resolver
>
> how to query non A or AAAA data from DNS (TXT to be exact).
> i found res_query function but can't find how to decode resulting answer.
The query type op is usually QUERY, but can be any of the
query types defined in <arpa/nameser.h>.
#define T_TXT 16 /* text strings */
--
Greg A. Woods
+1 416 218-0098; <gwoods@acm.org>; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>