Home > Configuration > Domain Name Service > setdnskey_notificationperiod

setdnskey_notificationperiod

Use this method to set 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.

Syntax



Parameters

keyname

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

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.

units

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

Return Value

Returns simpleResult

See Also