3.0.3, --zonesdir of configure

Wouter Wijngaards wouter at NLnetLabs.nl
Fri Jan 5 14:43:03 UTC 2007


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

Hi Koh-ichi,

Thanks for the bugreport. I have fixed it for the next release (3.0.4).

Best regards,
   Wouter

Koh-ichi Ito wrote:
> Hello,
> 
> Allow me if it is misunderstanding, I guess that --zonesdir
> option on configure in NSD 3.0.3 has no(or not enough)
> effect.
> 
> configure accepts --zonesdir option and $zonesdir appears in
> Makefile as the result and it is referred in EDIT macro of
> Makefile, but it seems no effect on config.h.
> 
> Pattern '@zonesdir@' doesn't appear in nsdc.sh.in, so
> --zonesdir option for configure isn't built in nsdc.
> 
> --zonesdir affects on neigher config.h nor CPPFLAGS, so it
> is no effect on zonec, too.
> 
> So, zonesdir always become NULL, and either specify
> 'zonefile:' in absolute path or specify 'zonesdir:' is
> mandatory as far as my understanding.
> 
> ingram2# grep zonesdir /proj/nsd3/etc/nsd.conf
> #       zonesdir: "/proj/nsd3/etc/namedb"
> ingram2# /proj/nsd-3.0.3/sbin/nsdc rebuild
> zonec: reading zone "example.jp".
> warning: slave zone example.jp with no zonefile 'secondary/example.jp'(No such file or directory) will force zone transfer.
> 
> zonec: processed 0 RRs in "example.jp".
> zonec: reading zone "example2.jp".
> error: cannot open 'primary/example2.jp': No such file or directory
> 
> zonec: processed 0 RRs in "example2.jp".
> 
> zonec: done with 0 errors.
> ingram2# rm /proj/nsd3/var/db/nsd.db
> ingram2# ed /proj/nsd3/etc/nsd.conf
> 437
> /zonesdir:/s/^#//
> p
>         zonesdir: "/proj/nsd3/etc/namedb"
> w
> 436
> q
> ingram2# /proj/nsd-3.0.3/sbin/nsdc rebuild
> zonec: reading zone "example.jp".
> warning: slave zone example.jp with no zonefile 'secondary/example.jp'(No such file or directory) will force zone transfer.
> 
> zonec: processed 0 RRs in "example.jp".
> zonec: reading zone "example2.jp".
> zonec: processed 3 RRs in "example2.jp".
> 
> zonec: done with 0 errors.
> ingram2#
> 
> 
> Note that 'No such file or directory' for example.jp is
> no problem, attention on example2.jp, please.
> 
> Thanks
> 
> 						Koh-ichi Ito
> 				Internet Research Institute, Inc.
> _______________________________________________
> nsd-users mailing list
> nsd-users at NLnetLabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users

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

iD8DBQFFnmP3kDLqNwOhpPgRAl69AKCJn+dwuUYTTvy8PsG6CvmBIPC/ywCfWrmw
Um9FjWyF68apcpnsLPUqqX8=
=omMb
-----END PGP SIGNATURE-----



More information about the nsd-users mailing list