WAPI – command domain-update-keyset

  Domains, WAPI (API interface)

This command allows you to change keyset settings for the domain,  enable/disable, and change the settings for DNSSEC.

Parameters

  • name – domain name – required
  • keyset – KEYSET setting – required
    1. 0 = without KEYSET / do not use DNSSEC
    2. 1 = our KEYSET / our DNSSEC (if the domain uses our DNS servers in the DNS and is the primary type)
    3. string = name of own KEYSET (if the domain does not use our DNS servers or is secondary type in DNS)
  • 1000 = ok
  • 2202 = invalid domain name
  • 2264 = invalid KEYSET name
  • 2265 = DNSSEC not supported
  • 2266 = unsupported action for secondary domain type
  • 2267 = unsupported action for primary domain type
  • 3260 = there is already a pending order of DNSSEC setting 
  • 3258 = register shutdown in progress
  • 3263 = domain is not using our DNS
  • 3222 = failed to retrieve domain
  • 3223 = domain is in a different customer account
  • 3259 = KEYSET is not available
  • 3262 = unable to set DNSSEC
  • 3264 = KEYSET is blocked

Return data

Command does not return any data.

Example of use

XML query:

<request>
 <user>tester</user>
 <auth>e347aa51858cf6b6c017ae5d060fefca1b9dba38</auth>
 <command>domain-update-keyset</command>
 <data>
  <name>example.cz</name>
  <keyset>0</keyset>
 </data>
</request>

XML response:

<response>
 <code>1000</code>
 <result>OK</result>
 <timestamp>1291044451</timestamp>
 <svTRID>1291044451.6002.9171.1</svTRID>
 <command>domain-update-keyset</command>
</response>