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

Benno Overeinder benno at NLnetLabs.nl
Tue Jul 27 13:22:52 UTC 2021

Hi Anand,

On 26/07/2021 12:24, Anand Buddhdev via ldns-users wrote:
> 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.

We corrected this in commit "ORIGIN from SOA owner, also in SOA rdata 

This should make ldns-read-zone use the correct origin, without needing 
a specification.


-- Benno

Benno J. Overeinder
NLnet Labs

More information about the ldns-users mailing list