[ldns-users] Fwd: Regarding dns resolver in c using ldns

ravin goyal ravirocks1021 at gmail.com
Thu May 12 10:13:23 UTC 2016


Thanks! Willem


That helped me

Regards
Ravin

On 12 May 2016 at 15:05, Willem Toorop <willem at nlnetlabs.nl> wrote:
> Hi Ravin,
>
> I suspect you want to use ldns_resolver_push_nameserver to target a
> server directly with a query.  See attached example for its usage.
>
> Best regards,
>
> -- Willem
>
> Op 12-05-16 om 06:39 schreef ravin goyal:
>> Hii
>>
>> I am trying to implement dns resolver in C using ldns and following
>> example codes given on website i implemented basic dns resolver for
>> TXT records
>>
>> But main concern is i want to set a static server address rather than
>> looking up /etc/resolv.conf file
>>
>> And for that i have found ldns_resolver_set_source is what i actually
>> need for this
>> but i don't see any working example/code to use this function
>>
>> I followed the docs but i still in middle of how I am going to use
>> this function.
>> Any help??
>>
>> Regards
>> Ravin
>> _______________________________________________
>> ldns-users mailing list
>> ldns-users at open.nlnetlabs.nl
>> https://open.nlnetlabs.nl/mailman/listinfo/ldns-users
>>
>
>
> _______________________________________________
> ldns-users mailing list
> ldns-users at open.nlnetlabs.nl
> https://open.nlnetlabs.nl/mailman/listinfo/ldns-users
>



More information about the ldns-users mailing list