< Home

portal pass dns enable

Function

The portal pass dns enable command enables a device to allow DNS packets to pass through during Portal authentication.

The undo portal pass dns enable command restores the default configuration.

By default, a device does not allow DNS packets to pass through during Portal authentication.

Format

portal pass dns enable

undo portal pass dns enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If you use a domain name to access the network, run the portal pass dns enable command to allow DNS packets destined for the DNS server to pass through. However, after this command is executed, all DNS packets are permitted.

You are recommended to run the free-rule command to configure the IP address of the DNS server as the source accessible to users without authentication.

Example

# Enable a device to allow DNS packets to pass through during Portal authentication.

<HUAWEI> system-view
[HUAWEI] portal pass dns enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >