cPanel - Checking zones
These scripts are designed to input a list of domains and verify their zone entries.
The following scripts will pull from a list of domains provided and check the zone entries and only display errors:
for i in `cat list`;
do named-checkzone $i /var/named/${i}.db; done|grep -Ev "loaded serial"The output for any errors will show something like:
$ for i in `cat list`;
do named-checkzone $i /var/named/${i}.db; done|grep -Ev "loaded serial"
dns_master_load: oddsmojo.com:5: oddsmojo.com: CNAME and other data
dns_master_load: oddsmojo.com:6: oddsmojo.com: CNAME and other data
zone oddsmojo.com/IN: loading master file oddsmojo.com: CNAME and other dataAnd I'm sure you can see the potential use for this. Check the list generator from cPanel/WHM Admninistrations Scripts - I for some ideas.