Subject: Re: DNS client
To: None <email@example.com>
From: Kamal Prasad <firstname.lastname@example.org>
Date: 06/13/2002 18:53:29
looks like I need to clarify things a bit.
I meant libc. the code in libc is undocumented.
I need a method to extract IP address from the answer.
--- Kamal Prasad <email@example.com> wrote:
> I have written a piece of code that replicates lib
> functionality for sending a dns query to the
> nameserver. the code is either undocumented or
> cryptic(possibly both).
> I am trying to extract the ip address returned by
> name server. the field past the HEADER in the
> contains the domain name. can someone give me the
> to do that (or point me to the reqd. C file)?
> [Note:- client sends domain name with QUERY and type
> T_A, Class =1 and gets the answer that says rcode=0,
> ancount=1 (ie its a valid answer).]
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup