[ldns-users] Bug with long TXT records

Klaus Darilion klaus.mailinglists at pernau.at
Tue Mar 19 12:43:27 UTC 2019


Hi Willem!

Thanks for the workaround -  I increased the buffer and now it works again.

regards
Klaus

Am 15.03.2019 um 21:53 schrieb Willem Toorop:
> Hi Klaus,
> 
> Unfortunately ldns has a hard limit on the size of the RR to parse,
> LDNS_MAX_LINELEN , which is defined in ldns/parse.h.  If you set it to a
> larger number (65535 for example) and recompile, the zone will parse.
> The limit is for one RR in presentation format, so it doesn't help to
> split the rdata over multiple lines either.
> 
> I do consider this a bug, and will implement a buffer that grows when
> needed shortly.
> 
> Regards,
> -- Willem
> 
> On 15-03-19 20:52, Klaus Darilion wrote:
>> It seems there is problem when parsing long TXT records.
>>
>> $ ldns-verify-zone -e P0Y0M0DT4H0M0S nxdomain.at.txt
>> Syntax error, could not parse the RR at 17
>>
>> Please find the zone attached.
>>
>> regards
>> Klaus
>>
>> _______________________________________________
>> ldns-users mailing list
>> ldns-users at nlnetlabs.nl
>> https://open.nlnetlabs.nl/mailman/listinfo/ldns-users
>>
> 
> _______________________________________________
> ldns-users mailing list
> ldns-users at nlnetlabs.nl
> https://open.nlnetlabs.nl/mailman/listinfo/ldns-users
> 



More information about the ldns-users mailing list