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

Wouter Wijngaards wouter at nlnetlabs.nl
Wed Jul 21 10:07:53 UTC 2021


Hi Anand,

On 21/07/2021 11:59, Anand Buddhdev via ldns-users wrote:
> On 21/07/2021 11:51, Wouter Wijngaards via ldns-users wrote:
> 
> Hi Wouter,
> 
>>> Also, if ldns-read-zone doesn't like the $INCLUDE directive, then it
>>> should emit a more useful response. The error it's printing currently
>>> isn't helping operators at all.
>>
>> It should print "Syntax error, $INCLUDE not implemented" at the line
>> with that statement. Since you claim the file has includes at the start,
>> I think the error may really be from another file entirely, since the
>> tool would not be able to read past that not-implemented include directive.
> 
> If I send you a copy of the zone file (privately), would you be willing
> to try it yourself and see where/why it's failing?

Please, that would be very helpful.

I have found out, after testing other files that the
include-not-implemented error is not printed properly, for which there
is a fix in
https://github.com/NLnetLabs/ldns/commit/46042cb39725886e808df08aa7d4ca1d3fc0697b

Best regards, Wouter

> 
> Regards,
> Anand
> _______________________________________________
> ldns-users mailing list
> ldns-users at lists.nlnetlabs.nl
> https://lists.nlnetlabs.nl/mailman/listinfo/ldns-users
> 


More information about the ldns-users mailing list