dns proxy enable

Use dns proxy enable to enable DNS proxy.

Use undo dns proxy enable to restore the default.

Syntax

dns proxy enable

undo dns proxy enable

Default

DNS proxy is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

This configuration applies to both IPv4 DNS and IPv6 DNS.

Examples

# Enable DNS proxy.

<Sysname> system-view
[Sysname] dns proxy enable