Get DNS zone informations

				
					array domainZoneInfo(string $IDsession, string $domain)
			

Return all informations about a domain DNS zone.

REQUIRED

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

An Array containing the DNS zone informations

 

Variables

  • domain string (255)
    Domain name.
  • status string
    Zone status.
  • signed bool
    Is the zone signed with DNSSec?
  • status string
    Zone status.
  • ttl integer
    Zone ttl value.
  • ttlUnit string (1)
    Zone ttl unit.
  • refresh integer
    Zone refresh value.
  • refreshUnit string (1)
    Zone refresh unit.
  • retry integer
    Zone retry value.
  • retryUnit string (1)
    Zone retry unit.
  • expire integer
    Zone expire value.
  • expireUnit string (1)
    Zone expire unit.
  • minimum integer
    Zone minimum value.
  • minimumUnit string (1)
    Zone minimum unit.
  • records array
    Zone DNS records.

Records variables

  • subdomain string
    Record subdomain.
  • type string
    Record type.
  • value string
    Record value.
  • options array StructOptionsZone
    Custom settings of the record as StructZoneParam array

     

    In this response the StructZoneParam array contains one additional value :

  • customTtl Bool

    Does the record have a custom ttl (true) or does it use the zone one (false) ?

Perimeter : Applies only to domain names.

<?php

$soapClient = new SoapClient(“http://URL.wsdl”);

try {
    $sessionID = $soapClient->sessionOpen(‘XX000’, ‘XX000’);
    $soapClient->domainZoneInfo($sessionID, ‘netim.com’);

} catch (SoapFault $fault) {
    echo “Exception : {$fault->getMessage()}\n;
}

if (isset($sessionID)) {
    $soapClient->sessionClose($sessionID);
}