< Home

dns malformed-packet check

Function

The dns malformed-packet check command enables malformed DNS packet detection.

The undo dns malformed-packet check command disables malformed DNS packet detection.

Format

dns malformed-packet check action { alert | block }

undo dns malformed-packet check

Parameters

Parameter Description Value

alert

When the protocol format of a DNS packet is abnormal, the packet is permitted, and a log is recorded.

-

block

When the protocol format of a DNS packet is abnormal, the packet is blocked, and a log is recorded.

-

Views

Intrusion prevention profile view

Default Level

2: Configuration level

Usage Guidelines

By default, this function is disabled.

Example

# In IPS profile profile1, enable malformed DNS packet detection and set the action to block.

<sysname> system-view
[sysname] profile type ips name profile1
[sysname-profile-ips-profile1] dns malformed-packet check action block
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >