mass dns records change when using dns cluster

dzamanakos

Well-Known Member
Feb 15, 2014
79
6
58
Larisa / Greece
cPanel Access Level
Root Administrator
Hi, i want to change all my spf records in my servers and i'm using dns cluster.

I can do a mass replace in /var/named/*.db files in all my hosting servers, but how can i "push" the changes to the dns servers via the cluster?
Dns service is not running in hosting servers and as far i know hosting servers "push" the changes with an internal cpanel api.
Can this be done manually?

best regards,
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

cPanel servers are connected to the cluster via API, so if you edited once DNS record on cPanel server, it will be pushed to the DNS servers. Did you try to make this change?
 

dzamanakos

Well-Known Member
Feb 15, 2014
79
6
58
Larisa / Greece
cPanel Access Level
Root Administrator
I didnt try yet, want to ask in order to be sure first.
Are you sure that if i replace with sed the /var/named/*.db files, are going to be "pushed" in the dns servers?
I believe that this is happening if i edit the zones via whm.

best regards,
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston