Bulk modifying cPanel DNS zones

Make a backup of the zones

cp -R /var/named /var/named.bak

Modifying zones

cd /var/named
sed -i /ns1.xxxx/ns1.yyyy/g *.db

Modification of serial

find /var/named/*.db -exec perl -pi -e 'if (/^\t+(\d{10})\s+;serial/i) { my $i = $1+1; s/$1/$i/;}' {} \;

Zone synchronization

/scripts/dnscluster syncall

Need help?

You did not found what your were looking for?

Speak with one of our specialists today.

By email

Other suggestions

Gestion d'adresse de courriel

cPanel Hébergement web

Tutoriel de configuration d'adresses de courriel cPanel en POP3 ou IMAP.

Gestion DNS

cPanel Hébergement web

Tutoriel d'utilisation des DNS pour gérer un nom de domaine.