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 ?
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 ?
Using the XML API would be your best bet:
AddDNSZone < AllDocumentation/AutomationIntegration < TWiki
You'd probably want to list all the zones in a separate file and run a loop for them. I have a base API script that you can easily implement for this if you need it.
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
replace, xx.xx.xx.xx with your server IP.for i in `cat /root/domainlist`; do /scripts/adddns --domain $i --ip xx.xx.xx.xx; done;
thanks a ton, it saved our lot of time, I really appriciate your help for this script