< Home

dns proxy forward-any-response

Function

The dns proxy forward-any-response command configures the DNS proxy to forward all the response packets returned by the DNS server to DNS clients. The response packets include those with the response count being 0, those with error codes, and those that are resolved successfully.

The undo dns proxy forward-any-response command configures the DNS proxy to forward only the successfully resolved response packets returned by the DNS server to DNS clients.

By default, the DNS proxy forwards only the successfully resolved response packets returned by the DNS server to DNS clients.

Format

dns proxy [ ipv6 ] forward-any-response

undo dns proxy [ ipv6 ] forward-any-response

Parameters

Parameter Description Value

ipv6

Specifies the IPv6 address of a DNS proxy.

If this parameter is not specified, the DNS proxy with a specified IPv4 address is used.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

This command is supported in V600R007C20SPC500 and later versions.

When a DNS client sends a DNS request packet to detect whether a DNS server is available on the network, the DNS client considers that a DNS server is available if it receives a response packet from the DNS server, regardless of whether the response packet is successfully resolved. To enable the DNS proxy to forward all the response packets returned by the DNS server to the DNS client, run the dns proxy forward-any-response command.

Example

# Configure an IPv4 DNS proxy to forward all the response packets returned by the DNS server to DNS clients.

<sysname> system-view
[sysname] dns proxy forward-any-response
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >