Bulk add a TXT record to several zones?

plasmax

Registered
May 23, 2018
2
1
1
Amsterdam, Netherlands
cPanel Access Level
Root Administrator
Hello!

I own hundreds of domains, and I have to add the same TXT record to each one of these.
Going one by one via cPanel is an absolute nightmare. Is there any way to add this records to all the zones at once?

I have root access to both SSH and WHM.

Thank you very much!
 

domaincolony

Member
Aug 18, 2019
6
0
1
uk
cPanel Access Level
Root Administrator
August 2019: Did anyone resolve this - the link provided is very useful for substitution, e.g. one NS for another but it does not reveal how to bulk ADD a TXT entry - that is to say to create an additional line in the zone file. I have about 300 domains that need google TXT verification entries, could someone post the cli to add a TXT record please...? Thanks, Mike
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
August 2019: Did anyone resolve this - the link provided is very useful for substitution, e.g. one NS for another but it does not reveal how to bulk ADD a TXT entry - that is to say to create an additional line in the zone file. I have about 300 domains that need google TXT verification entries, could someone post the cli to add a TXT record please...? Thanks, Mike
Hello Mike,

The example on Bulk DNS insert demonstrates a method to insert an additional record rather than replacing a record. Feel free to reply to that thread if you have additional questions about the example provided there.

Thanks!