[ldns-users] ldns-read-zone ignores $INCLUDE directives

Anand Buddhdev anandb at ripe.net
Mon Jul 26 10:18:45 UTC 2021


I have noticed that ldns-read-zone doesn't handle $INCLUDE directives.
In fact, it *silently* ignores them! It reads the zone file, and prints
the records it parses, but simply leaves out the content from include
files. It doesn't even print a message or give an error indication that
it has skipped over this directive.

The $INCLUDE directive is a part of the zone file standard, and should
be honoured. Instead, it is being _silently_ ignored, which is, IMHO, a
rather serious bug, because it gives the impression that ldns-read-zone
has successfully read and parsed a zone file, whereas the output is
actually incomplete.

Regards,
Anand


More information about the ldns-users mailing list