< Home

Data Model

The configuration model file of DNS snooping is huawei-mdns-snooping.yang.

Table 1 Data model

Object

Description

Value

Remarks

/if:interfaces/if:interface/huawei-dns-snooping:dns-snooping/huawei-dns-snooping:snooping-enable

Indicates whether to enable DNS snooping. After this function is enabled, the device parses the received DNS response packets to obtain IP addresses and generates mappings between the IP addresses and domain names.

The value is of the Boolean type:

  • true: The function is enabled.

  • false: The function is disabled.

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

/huawei-dns-snooping:dns-snooping/huawei-dns-snooping:global/huawei-dns-snooping:ttl-delay-time

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

The value is an integer in the range from 0 to 43200, in minutes. The default value is 5760 minutes.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >