[ldns-users] ldns_rdf2str
T. Simonaitis
simtom at domreg.lt
Wed Mar 23 08:14:25 UTC 2022
The issue was with the zone itself,
since dig has defaulted to idnout,
(+noidnout for fix).
On 2022-03-22 16:50, T. Simonaitis via ldns-users wrote:
> 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?
>
More information about the ldns-users
mailing list