[ldns-users] ldns_rdf2str

T. Simonaitis simtom at domreg.lt
Tue Mar 22 14:50:11 UTC 2022


Hi,

we are developing small application using ldns,

which reads transferred zone (ldns_zone_new_frm_fp_l),

does some crunching and then prints out records names.

To get record owner, we are using

ldns_rdf2str(rr->_owner);

Now it looks like it generates domain name in UTF-8 format (where it is 
in xn-- punnycode).

I've failed to find which method I should use for xn-- format.

Could you point me to the right direction?

-- 
Regards,
Tomas Simonaitis



More information about the ldns-users mailing list