Set external DNSSec

				
					StructOperationResponse domainSetDNSSecExt(string idSession, string domain, array DSRecords, int flags, int protocol, int algo, string pubKey)
			

Sign a domain name with DNSSEC if it doesn’t use NETIM’s DNS servers.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name.
  • DSRecords array
    An array of StructDSRecord.
  • flags integer (32)
  • protocol integer (32)
  • algo integer (32)

OPTIONAL

  • pubKey string (255)

An Object of type StructOperationResponse

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XX000", "xxxxxxxx"); 
 
      $DSRecords[]=array(
			"key"=>"12345",
			"type"=>"1",
			"digest"=>"49FD46E6C4B45C55D4AC");
 
      $DSRecords[]=array(
			"key"=>"12345",
			"type"=>"2",
			"digest"=>"46E6C4B45C5549FD46EB45C46E6C4B45C55");
 
 
      $StructOperationResponse = $clientSOAP->domainSetDNSSecExt($idSession, "netim.com", $DSRecords, "257", "3", "7", "AQPJ////4Q==");
 
      print_r($StructOperationResponse); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>