< Home

dns snooping ttl delay-time

Function

The dns snooping ttl delay-time command configures the delay in aging DNS snooping IP address and domain name entries.

The undo dns snooping ttl delay-time command restores the default configuration.

By default, the delay in aging DNS snooping IP address and domain name entries is 5760 minutes.

This command is supported only on the S5720-HI, S5730-HI, S5731-H, S5731S-H, S6720-HI, S5732-H, S6730-H, S6730S-H, and S6730S-HI.

Format

dns snooping ttl delay-time delay-time

undo dns snooping ttl delay-time

Parameters

Parameter Description Value

delay-time

Specifies the delay in aging IP address and domain name entries.

The value is an integer in the range from 0 to 43200, in minutes. If the value is set to 0, IP address and domain name entries do not age.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After DNS snooping is enabled using the dns snooping enable command, the device parses the received DNS response packets to obtain IP addresses and the aging time, and generates mappings between IP addresses and domain names. By default, the delay in aging IP address and domain name entries is 5760 minutes. You can run the dns snooping ttl delay-time command to adjust the delay.

Example

# Set the delay in aging DNS snooping IP address and domain name entries to 5700 minutes.

<HUAWEI> system-view
[HUAWEI] dns snooping ttl delay-time 5700
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >