perl -pi -e ‘s/OLD_IP/NEW_IP/’ *.db


cd /var/named
perl -pi -e 's/OLD_IP/NEW_IP/' *.db
service named restart