Get dns records list

				
					StructQueryZoneList[] QueryZoneList(string $IDsession, string $domain)
			

Return all DNS records of a domain name.

REQUIRED

  • idSession string (32)
    Session ID.
  • domain string
    Domain name.

An Array of StructQueryZoneList

Perimeter : Applies only to domain names.

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{
 
    $idSession = $clientSOAP->sessionOpen("XX000", "XX000", "EN"); 
    $clientSOAP->queryZoneList($idSession, "netim.com"); 
}
catch(SoapFault $fault) 
{
    echo "Exception : " .$fault->getMessage(). "\n"; 
}
 
if (isset($idSession)) 
{
    $clientSOAP->sessionClose($idSession); 
}