This function creates a DNS zone. All zone information other than domain name and IP address is created based on the standard zone template in WHM. (To edit that template, go to: https://YOURIP:2087/scripts2/editzonetemplate?template=standard) Your MX record, nameserver records, domain ptr and a records will all be generated automatically. If you wish to modify the zone information, use editdns.
Calling this URL in WebHost Manager:
/xml-api/adddns?domain=domain.com&ip=1.2.3.4
will produce something similar to:
<adddns>
<result>
<status>1</status>
<statusmsg>Added domain.com ok</statusmsg>
</result>
</adddns>
Copyright 2008 cPanel Inc.