Zone file sanity check script

Simon Waters Simon at wretched.demon.co.uk
Wed Mar 20 21:52:15 UTC 2002


Martyn Drake wrote:
> 
> Does anybody have any recommendations or know about any pre-written scripts that performs basic sanity checking on zone files?  It is all too easy for somebody to forget to add a full-stop or use a hash instead of a semi-colon for comments which ultimately prevent BIND from loading that zone file.

nslint is useful in some circumstances as well, and one of the
few tools to check the files before loading. 

The main use is ensuring forward and reverse lookups match up
nicely, which helps catch typos, but can be a tad inflexible for
some configurations. Quite a lot of tools will do this after
you've loaded up the incorrect data which is great if you have a
hidden master.


More information about the bind-users mailing list