Sep 17, 2009, 12:52 PM
Post #1 of 3
I need a program that can fina all master zones in /etc/named.conf.masters
i just signed up for the forum today. I've been trying to work on a nagios check that will find all master zones in /etc/named.conf.masters, find the relative db files associated with those zones, read the db files, grab the SOA serial, and compare it to all other nameservers in the network. i don't expect there to be a program out there that can do this already. I have the parts about grabbing the SOA serial and comparing it to the serials on the name servers. I haven't found a good way, however to only grab the master zones in conf.masters. This is the most important part, since the config is very messy and has slave sub zones listed as well. If there is a way to grab the views and the associated keys with the master zones, that would be lovely as well.
Any help would be appreciated.