< Home

domain-set dns aging-time

Function

The domain-set dns aging-time command sets the minimum and maximum DNS aging time for a domain group.

The undo domain-set dns aging-time command restores the minimum and maximum DNS aging time of a domain group to the default values.

Format

domain-set dns aging-time minimum minimum-num maximum maximum-num

undo domain-set dns aging-time

Parameters

Parameter Description Value

minimum-num

Specifies the minimum DNS aging time.

The value is an integer that ranges from 10 to 28800, in minutes. The default value is 30.

maximum-num

Specifies the maximum DNS aging time.

The value is an integer that ranges from 10 to 28800, in minutes. The default value is 14400.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

This command is supported by V600R007C20SPC603 and later versions.

Usage Scenario

  • If the aging time of response packets sent by the DNS server to resolve domain names in a domain group is shorter than the minimum DNS aging time of a domain group configured on the FW, the aging time becomes the minimum DNS aging time of the domain group.
  • If the aging time of response packets sent by the DNS server to resolve domain names in a domain group is longer than the maximum DNS aging time of a domain group configured on the FW, the aging time becomes the maximum DNS aging time of the domain group.
  • If the aging time of response packets sent by the DNS server to resolve domain names in a domain group is between the minimum and maximum DNS aging time of a domain group configured on the FW, the aging time remains unchanged.

In any view, you can run the display domain-set command to check the aging time of response packets sent by the DNS server to resolve domain names in a domain group. You can run the display current-configuration | include dns aging-time command to view the minimum and maximum DNS aging time of a domain group configured on the FW.

Precaution

The minimum DNS aging time of a domain group must be smaller than or equal to the maximum DNS aging time.

Example

# Set the minimum DNS aging time of a domain group to 50 minutes and the maximum DNS aging time to 1000 minutes.

<sysname> system-view
[sysname] domain-set dns aging-time minimum 50 maximum 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >