[ldns-users] ldns-read-zone and $INCLUDE

A. Schulze sca at andreasschulze.de
Thu Mar 23 09:55:46 UTC 2017


looks like $INCLUDE inside a zone is ignored by ldns-read-zone, right?

$ cat /path/to/zone:
    example.org. SOA ns.example.org. me.example.org 1 43200 7200 2419200 3600
    example.org. NS ns.example.org.
    ns.example.org. A
    $INCLUDE /path/to/include

$ cat /path/to/include
    www.example.org. A

# read zone, sort and increment SOA by one
$ ldns-read-zone -z -S +1 path/to/zone
    example.org.    3600    IN      SOA     ns.example.org.  
me.example.org. 2 43200 7200 2419200 3600
    example.org.    3600    IN      NS      ns.example.org.
    ns.example.org. 3600    IN      A

While NSD handle the include, the included data are lost here.
Is that intentional?

Thanks for clarification,

More information about the ldns-users mailing list