Set DNSSec

				
					StructOperationResponse domainSetDNSSec(string idSession, string domain, string value)
				
			

Sign the domain name with DNSSEC if it uses NETIM’s DNS servers.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name.
  • value integer (1)
    Set to: “0” to unsign, “1” to sign.

An Object of type StructOperationResponse

The domain name must use NETIM’s name servers. (See structdomaininfo.HasDNS4Service)

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