[ldns-users] Bug with long TXT records
willem at nlnetlabs.nl
Fri Mar 15 20:53:13 UTC 2019
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
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.
> ldns-users mailing list
> ldns-users at nlnetlabs.nl
More information about the ldns-users