[ldns-users] ldns-read-zone assumes an incorrect origin

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


If I feed ldns-read-zone a zone file that doesn't have a $ORIGIN
directive, then ldns-read-zone assumes the origin to be ".". It just
appends a dot to all relative names in the zone, so that the resulting
output is wrong.

IMHO, ldns-read-zone should fail with an error if it can't determine the
origin (either in the zone file, or by way of a command-line option).
Assuming the origin to be "." is incorrect.

Regards,
Anand


More information about the ldns-users mailing list