Change MX record for almost all domain at once

cglmicro

Member
Oct 14, 2013
11
0
51
cPanel Access Level
Root Administrator
Hi guys.

I need to update the DNS entries in my WHM for 200+ domains and I don't want to do it in the GUI for each.

From a linux command line, can I and how to change all zone files located in /var/named/ that contains:
Code:
14400	IN	MX	21	mcback.domain.net.
Code:
14400	IN	MX	10	mc137.domain.net.
Is it safe to do this ?

After this, I suppose I also need to do a full synchronisation from my other NS that is running on WHMDNSONLY ?

Thank you.