Script for verifying zone files

Paul Wouters paul at xelerance.com
Thu Jul 22 16:31:37 UTC 2010


On Thu, 22 Jul 2010, Atkins, Brian (GD/VA-NSOC) wrote:

> Does anyone know of an existing script or program that can parse a zone
> file and verify records against an active server?

named-checkzone these days does some checks unless specified not to do so.
(note to self: dont do that on a 2.5M record zone)

If you want to verify if the contents of the "current" zone and your new
zone file still match, you prob want some kind of "diff". Perhaps load
the new zone on a spare server, and do an AXFR of both zones, with some
sort/uniq/sed processing?

Paul




More information about the bind-users mailing list