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