Named-checkzone

From VVCWiki
Revision as of 14:49, 30 January 2014 by Vvc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
cd /var/named/config/namedb/
egrep -w "zone|file" /var/named/config/named.conf | \
awk '{print $2}' | tr -d '[";]' | \
paste - - | while read zone zonefile
do 
named-checkzone -k ignore $zone $zonefile
done