Subject: Re: c-ares recursive name resolving

Re: c-ares recursive name resolving

From: Paweł Piątkowski <pawelp_at_cubiware.com>
Date: Tue, 15 Feb 2011 13:36:20 +0100

On 15.02.2011 11:36, William Ahern wrote:
>> Can I handle NS response manually somehow? I see there is
>> ares_parse_ns_reply(). Are there any examples on how to use it?
>
> I don't think it's possible to implement a recursive resolver using c-ares.
> You can't control the fields in the query packets, nor the destination.

Sure, but if I could parse NS reply and get addresses of suggested DNS
servers then I could send another request to them and repeat this
behavior until I get A reply.
Received on 2011-02-15