| adddnskey |
Use this method to adds a DNS key to the zone that is specified in the key file. |
Syntax |
Parameters |
keyname |
Name of the public-private key pair to publish in the zone. This is mandatory parameter. |
publickey |
File name of the public key. This is mandatory parameter. |
privatekey |
File name of the private key. 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. |
notificationperiod |
Time at which to generate notification of key expiration, specified as number of days, hours, or minutes before expiry. Must be less than the expiry period. The notification is an SNMP trap sent to an SNMP manager. To enable the appliance to send the trap, enable the DNSKEY-EXPIRY SNMP alarm.
In case autorollover option is enabled, rollover for successor key will be intiated at this time. No notification trap will be sent. Default value = 7. Minimum value = 1. Maximum value = 32767. |
units2 |
Units for the notification period. Default value = NSDNS_KEY_EXPIRY_DAYS. |
ttl |
Time to Live (TTL), in seconds, for the DNSKEY resource record created in the zone. TTL is the time for which the record must be cached by the DNS proxies. If the TTL is not specified, either the DNS zone's minimum TTL or the default value of 3600 is used. Default value = 3600. Maximum value = 2147483647. |
password |
Passphrase for reading the encrypted public/private DNS keys |
autorollover |
Flag to enable/disable key rollover automatically.
Note:
* Key name will be appended with _AR1 for successor key. For e.g. current key=k1, successor key=k1_AR1.
* Key name can be truncated if current name length is more than 58 bytes to accomodate the suffix. Default value = DISABLED. |
rollovermethod |
Method used for automatic rollover.
* Key type: ZSK, Method: PrePublication or DoubleSignature.
* Key type: KSK, Method: DoubleRRSet. |
revoke |
Revoke the key. Note: This operation is non-reversible. |
Return Value |
Returns simpleResult |
See Also |