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

ravin goyal ravirocks1021 at gmail.com
Wed May 18 12:08:01 UTC 2016


Hii Willem

Regarding ldns_resolver_push_nameserver to target a server directly
with a query , in the example code that you have sent using

while creating nameserver address you have done this :

 ldns_rdf_new_frm_str( LDNS_RDF_TYPE_A, "185.49.140.60")

but in here i want to set the domain name rather than the ip address itself

I tried using  ldns_rdf_new_frm_str( LDNS_RDF_TYPE_DNAME, "domain.com")

but it is not working

How can we set the domain name of the nameserver rather than ip address


thanks in advance.



More information about the ldns-users mailing list