crazyaboutlinux

Well-Known Member
Nov 3, 2007
939
1
66
I want to create DNS zone for 450 domains is there any utility/script to create DNS zone for all domains at one go, server is same only domains will be different ?
 

madaboutlinux

Well-Known Member
Jan 24, 2005
1,051
2
168
Earth
I want to create DNS zone for 450 domains is there any utility/script to create DNS zone for all domains at one go, server is same only domains will be different ?
Already replied to you on WHT but here it is again.

Copy the list of domains (one domain name on a line) in a file on the server say, /root/domainlist

and execute the following script

for i in `cat /root/domainlist`; do /scripts/adddns --domain $i --ip xx.xx.xx.xx; done;
replace, xx.xx.xx.xx with your server IP.