dns-url permit

Function

The dns-url permit command configures a whitelist for users who access web services using HTTPS.

The undo dns-url permit command deletes a whitelist configured for users who access web services using HTTPS.

By default, no whitelist is configured for users who access web services using HTTPS.

This command is supported only on the NetEngine 8000 F1A.

Format

dns-url permit url-name

undo dns-url permit url-name

Parameters

Parameter Description Value
url-name

Specifies a webpage address.

The value is a string of 1 to 200 characters.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
portal write

Usage Guidelines

Usage Scenario

When users access web services using HTTPS and a list of accessible domain names or IP addresses for a pre-authentication domain needs to be configured, run the dns-url permit command to configure a whitelist, so that packets that match the whitelist are sent to the CPU.

Precautions

This command is supported only on the admin VS.

After the function to redirect DNS packets to a web server address is enabled, the blacklist function becomes invalid.

Example

# Configure www.huawei.com as a whitelist.
<HUAWEI> system-view
[~HUAWEI] dns-url permit www.huawei.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >