Home > Configuration > Domain Name Service > setdnskey_expires

setdnskey_expires

Use this method to set time period for which to consider the key valid, after the key is used to sign a zone.

Syntax



Parameters

keyname

Name of the public-private key pair.
This is mandatory parameter.

expires

Time period for which to consider the key valid, after the key is used to sign a zone.
Default value = 120.
Minimum value = 1.
Maximum value = 32767.

units

Units for the expiry period.
Default value = NSDNS_KEY_EXPIRY_DAYS.
Possible Values : MINUTES, HOURS, DAYS.

Return Value

Returns simpleResult

See Also