[uClibc] res_query()

Erik Andersen andersen at codepoet.org
Thu Apr 15 17:23:41 UTC 2004


On Wed Apr 14, 2004 at 12:12:58AM +0200, Richard Kojedzinszky wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi there,
> 
> I have a problem. I dont know if it is a bug, but it seems to me it is.
> 
> I would like to use freeswan's OE with uClibc, and pluto's adns cannot
> extract my TXT RR from the DNS. Of course, on a system with glibc, the
> check script verifies it, and reports it as good.
> 
> I have started to debug it, but it's a little bit high for me, but I got
> there so far that the res_query call fills the answer pointer with just
> the answer, and the same function in a glibc system returns much more. And
> of course freeswan expects that behaviour.
> 
> I have written a very simple program, which queries an 'IN A' RR from DNS,
> and on glibc the answer was 128bytes, while the uClibc's only 4 bytes, the
> ip address.
> 
> Would somebody be so kind and check if i am right?

Could you please provide a copy of your very simple test program?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list