On cPanel server if you wish to change the SOA DNS Record for all the DNS zones you may use the following script

for i in `\ls /var/named/*.db`
do
old=`\grep SOA $i | awk ‘{print $6}’`
replace $old mail.newdomain.com. — $i
done 

Replace ns1.newdomain.com with nameserver address you wish to have.

If you wish to change SOA E-mail Address use below script

for i in `\ls /var/named/*.db`
do
old=`\grep SOA $i | awk ‘{print $6}’`
replace $old mail.newdomain.com. — $i
done

Replace mail.newdomain.com with e-mail address you wish to have.