GetDnsSec

This command will get all of the DNS Sec keys associated with a domain.

Usage

This command will get all of the DNS Sec keys, associated with a domain, from the Registry.

Availability

All resellers have access to this command.

Constraints

The query must meet the following requirements:

  • The login ID and API Token must be valid.
  • The domain name must belong to this account.

Input Parameters

https://resellertest.enom.com/interface.asp?command=GetDnsSec&uid=YourAccountID&pw=YourApiToken&SLD={Required}&TLD={Required}&responsetype={Optional}
Input ParameterTypeStatusDescription
commandstringRequiredGetDnsSec
uidstringRequiredYour Account ID
pwstringRequiredYour API Token
SLDstringRequiredSecond-level domain name (e.g. "enom" in "enom.com")
TLDstringRequiredTop-level domain name (extension)
ResponseTypestring.OptionalThe format that the system respond in. Permitted values are "HTML", "XML" for "TEXT" format. The default response format is "TEXT".

Returned Parameters and Values

Check the return parameter "ErrCount". If it is greater than 0, the transaction failed. The parameter "Err(ErrCount)" can be presented to the client. Otherwise, the process returns parameters as defined below.

Output ParameterTypeDescription
CommandstringName of command executed
ErrCountintThe number of errors if any occurred. If the value is greater then 0, check the Err(1 to ErrCount) values.
Err(X)stringError messages explaining the failure. These can be presented "as-is" back to the client.
ResponseCodeintNumeric value to indicate success or error of the executed command.
ResponseMessagestringResponse messages explaining the status of the command response. These can be presented "as-is" back to the client.
AlgorithmintAlgorithm used in generating the Digest value. Expected values are:
"3" - DSA/SHA-1
"5" - RSA/SHA-1
"7" - RSASHA1-NSEC3-SHA1
"8" - RSA/SHA-256
"10" - RSA/SHA-512
"12" - GOST R 34.10-2001
"13" - ECDSA/SHA-256
"14" - ECDSA/SHA-384
DigeststringDigest string associated with the domain name.
DigestTypeint
KeyTagint
doneboolean"True" value indicates this entire response has reached you successfully.

Related Commands

AddDnsSec
DeleteDnsSec