[nsd-users] nsd-checkconf behaves differently based in direct or include zone:

Matthijs Mekking matthijs at NLnetLabs.nl
Mon Jul 20 08:16:05 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Antti Ristimäki wrote:
> Hi all,
> 
> I also checked the output of our nsd-checkconf and it showed all the
> zones, even those given in an included file.
> 
> I think that nsd-checkconf can't deal too well with relative include
> statements. That is, if you include a file with a relative path, you
> have to run nsd-checkconf in the very same directory where the included
> file is.

It provides a "cannot open include file" error in the case the include
file cannot be found because of its relative path (instead of skipping
the files).

Matthijs

> 
> Regards,
> 
> Antti
> 
> On Mon, 20 Jul 2009, Matthijs Mekking wrote:
>> Hi Paul,
>>
>> Which version of NSD? I tried the latest, and it shows all zone:
>> sections in its include file. Could you otherwise provide the specific
>> config file (maybe off list).
>>
>> Matthijs
>>
>> Paul Wouters wrote:
>>> Hi,
>>>
>>> I found that nsd-checkconf  -v /etc/nsd/nsd.conf shows all the zone:
>>> sections specified in nsd.conf itself, but not any zone: sections
>>> in its include files.
>>>
>>> Paul

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJKZCfCAAoJEA8yVCPsQCW5qnMIANeKgBhkFwt5ceRDX/XJR0Aw
NrXaTuKyqjxUms2/Ng12molRkVtQKYt0VF05xjRtjqYnxMSpeLKHm1DM2B4/iuf/
RBXmgiws9wuymxPfJcM1Dt5ZO16oNx3/O9dnJQllXcewGb+mO1pyEuELkX+LSJkH
7hWRoKRs0HDncrDMqy5AgZJ4PXYchlg95uB8CDWMXWd7V9XSWo8ET3bCYKh4Ptak
3RTIb78Q/l0L1dOPoBVLHcHRz4uJi1CaSyA0/vMBn56OKqefttCrj8/cDDxfreDz
R0vhXYmaZJGwjkpY3BbZN4a0DjFSthx20u2IXVS0UxAj9FrxtAphGSZsv4PpfKM=
=Q38k
-----END PGP SIGNATURE-----



More information about the nsd-users mailing list