interval

Use interval to set the interval for sending DDNS update requests.

Use undo interval to restore the default.

Syntax

interval days [ hours [ minutes ] ]

undo interval

Default

The DDNS update request interval is one hour.

Views

DDNS policy view

Predefined user roles

network-admin

mdc-admin

Parameters

days: Days in the range of 0 to 365.

hours: Hours in the range of 0 to 23.

minutes: Minutes in the range of 0 to 59.

Usage guidelines

Whether the interval is reached or not, a DDNS update request is initiated immediately if either of the following conditions occurs:

If you set the interval to 0, the device does not periodically initiate DDNS update requests. However, it initiates a DDNS update request in either of the following situations:

If you execute this command multiple times, the most recent configuration takes effect. If you change the interval for an applied DDNS policy, the device immediately initiates a DDNS update request and sets the interval as the update interval.

Examples

# Set the interval to 1 day and 1 minute for sending DDNS update requests for DDNS policy steven_policy.

<Sysname> system-view
[Sysname] ddns policy steven_policy
[Sysname-ddns-policy-steven_policy] interval 1 0 1

Related commands

ddns policy

display ddns policy