[ldns-users] ldns-read-zone output not very helpful

Paul Wouters paul at nohats.ca
Tue Jul 20 12:59:58 UTC 2021

On Tue, 20 Jul 2021, Anand Buddhdev via ldns-users wrote:

> ldns-read-zone ripe.net.zone.formatted
> Syntax error, could not parse the RR's class at 3628
> This error message isn't helping me. I don't know if 3628 is a character
> position or line number. I don't think it's a line number, because if I

It is the line number. Make a parse error on line 10 and see it fail:

[root at ns0 ~]# ldns-read-zone /tmp/nohats.ca 
Syntax error, could not parse the RR's rdata at 10

> It would be more useful if the tools were to print something like:
> "line X, character Y"

I agree :)


More information about the ldns-users mailing list