cPanel XMLAPI - listzones


DESCRIPTION

This function creates a DNS zone. All zone information other than domain name and IP address is created based on the settings for your account in WHM. 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.


VARIABLES

INPUT

NONE

OUTPUT

listzones
DNS zone file list container.

zone
DNS zone container.

domain
Domain name.

zonefile
Zone file name.


EXAMPLES

Calling this URL in WebHost Manager:

/xml-api/listzones

will produce something similar to:

	<listzones>
		<zone>
	    <domain>domain.com</domain>
	    <zonefile>domain.com.db</zonefile>
	  </zone>
	  <zone>
	    <domain>domain1.com</domain>
	    <zonefile>domain1.com.db</zonefile>
	  </zone>
		
	</listzones>

COPYRIGHT

Copyright 2008 cPanel Inc.