DomainSetDNSSecExt

From NETIM
(Difference between revisions)
Jump to: navigation, search
m (Text replace - "API Version 1 (Recommended)" to "API Version 1 (Deprecated)")
 
Line 32: Line 32:
 
|string (255)|| domain || Domain name  ||
 
|string (255)|| domain || Domain name  ||
 
|-
 
|-
|array || DSRecords|| An object [[StructDSRecord]]  ||  
+
|array || DSRecords|| [[StructDSRecord]]  ||  
 
|-
 
|-
 
|int (32)|| flags|| ||
 
|int (32)|| flags|| ||

Latest revision as of 17:17, 8 January 2021


Release Runtime
API >= 2.0 Synchronous


Description

Allows to sign a domain name with DNSSEC if it doesn't use NETIM DNS servers

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


Parameters

Format Variable Description Notes
string (32) idSession Session ID
string (255) domain Domain name
array DSRecords StructDSRecord
int (32) flags
int (32) protocol
int (32) algo
string (255) pubKey


Return

A structure StructOperationResponse


Notes

None

[edit] Exemples

PHP

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
 
      $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); 
} 
?>
Release Runtime
API > 1.5 Synchronous


Description

Allows to sign a domain name with DNSSEC if it doesn't use NETIM DNS servers

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


Parameters

Format Variable Description Notes
string (32) idSession Session ID
string (255) domain Domain name
array DSRecords An object StructDSRecord
int (32) flags
int (32) protocol
int (32) algo
string (255) pubKey


Return

A tracking ID


Notes

None

[edit] Exemples

PHP

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

Variants
Actions
Your account
Domain names
Shared Hosting
Old Hosting offers
SSL Certificates
Resellers
Affiliates
Contact Us
Miscellaneous