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

Anand Buddhdev anandb at ripe.net
Tue Jul 20 21:20:44 UTC 2021


On 20/07/2021 14:59, Paul Wouters wrote:

Hi Paul,

> 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

I just tried again:

% ldns-read-zone ripe.net.zone
Syntax error, could not parse the RR's class at 3638

Line 3638 is actually a blank line! Here are the lines before and after it:

3636 reg01-test.atlas    86400   A       193.0.19.181
3637 reg01-test.atlas    86400   AAAA    2001:67c:2e8:11::193.0.19.181
3638
3639 reg02-test.atlas    86400   A       193.0.19.26
3640 reg02-test.atlas    86400   AAAA    2001:67c:2e8:11::193.0.19.26

So I'm completely stumped, and have no idea why ldns-read-zone is
failing. Would appreciate some help from the developers...

Anand


More information about the ldns-users mailing list