< Home

dns resolve

Function

The dns resolve command enables dynamic domain name resolution.

The undo dns resolve command disables dynamic domain name resolution.

By default, dynamic domain name resolution is disabled.

Format

dns resolve

undo dns resolve

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To obtain IP addresses mapping domain names using the DNS server, run the dns resolve command to enable dynamic domain name resolution on the device.

Example

# Enable dynamic domain name resolution.

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