Bug 564 - Tools for checking zone syntax
Tools for checking zone syntax
Status: RESOLVED FIXED
Product: NSD
Classification: Unclassified
Component: NSD Code
4.0.x
Other Linux
: P5 enhancement
Assigned To: NSD team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-18 14:10 CET by Pavel Odintsov
Modified: 2014-05-10 19:15 CEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Odintsov 2014-03-18 14:10:35 CET
Hello!

We tried to migrate to NSD but can't find any tools like named-checkzone for checking separate zone syntax. Could you add this tool to distributive?

It's very useful tool in many cases:
1) Custom management software which generates zone files for NSD
2) Named to NSD migration (in many cases NSD can't parse Named zones)
3) Ability to check zones sanity before nsd production load

Thank you!
Comment 1 Wouter Wijngaards 2014-03-18 15:26:58 CET
Hi Pavel,

Thanks for the suggestion, this is indeed not available.  I'll see if we can put this on TODO.  (For the short term, memory fixes and statistics are on TODO).

Today, you could (perhaps) abuse nsd-mem, which can read a nsd.conf, reads all the zone files and then prints the memory usage, in doing so, it checks the zone format.

Best regards,
   Wouter
Comment 2 Wouter Wijngaards 2014-05-08 16:49:29 CEST
Hi Pavel,

Added nsd-checkzone tool, for future releases included in the distro.

Best regards,
   Wouter
Comment 3 Pavel Odintsov 2014-05-08 19:48:32 CEST
Thank you! We will check it shortly!
Comment 4 Sergei Mamonov 2014-05-09 21:41:21 CEST
nsd-checkzone doesnt compilling now!
Source get from trunk, but it doesnt have "nsd-checkzone.8.in" file - 

make: *** No rule to make target `nsd-checkzone.8.in', needed by `nsd-checkzone.8'.  Stop.

find -name "*.8.in"
./nsd-control.8.in
./nsd-checkconf.8.in
./nsd.8.in
Comment 5 Wouter Wijngaards 2014-05-10 19:15:38 CEST
Hi Sergei,

Oops, forgot to add that file to the commit.  Added it in.  I apologize for the inconvenience.

Best regards,
   Wouter