Example XML Request
Following is an example of an XML request for the GetDNSZone
method of the DNS Provider:
<?xml version="1.0" encoding="iso-8859-1" ?>
<request>
<data>
<serverIdentifier>100.100.100.125</serverIdentifier>
<userName>myuser</userName>
<password>password</password>
<zoneName>mydomain.com</zoneName>
<debugLevel logging="high" check-only="on"/>
</data>
<properties>
<property name="MasterServers"></property>
<property name="DataFile">mydomain.com.dns</property>
<property name="SecondaryServers>100.100.100.10</property>
</properties>
<procedure>
<execute namespace="DNS Provider" procedure="GetDNSZone">
<before source="data" destination="executeData" mode="merge"/>
<before source="executeData" destination="data" mode="insert"/>
</execute>
</procedure>
</request>
Example XML Response
Following is an example of an XML response for the GetDNSZone
method of the DNS Provider:
<?xml version="1.0" encoding="iso-8859-1" ?>
<response>
<data>
<operationStatus>Success</operationStatus>
<properties>
<property name="zoneType" value="primary" />
<property name="adminEmail" value="admin@mydomain.com />
<property name="MasterServers">
<value>100.100.100.12</value>
<value>100.100.100.10</value>
</property>
</properties>
<resourceRecords>
<resourceRecord>
<rrName>mail</rrName>
<rrType>MX</rrType>
</resourceRecord>
<resourceRecord>
<rrName>www</rrName>
<rrType>NS</rrType>
</resourceRecord>
</resourceRecords>
</data>
</response>