Named-checkzone

From VVCWiki
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