107
Views
System view
Predefined user roles
network-admin
Parameters
dscp-value: Sets the DSCP value for outgoing DNS packets, in the range of 0 to 63.
Usage guidelines
The DSCP value of a packet specifies the priority level of the packet and affects the transmission
priority of the packet. A bigger DSCP value represents a higher priority.
Examples
# Set the DSCP value for outgoing DNS packets to 30.
<Sysname> system-view
[Sysname] dns dscp 30
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
dns server
Use dns server to specify the IPv4 address of a DNS server.
Use undo dns server to remove the specified IPv4 address of a DNS server. If you do not specify an
IPv4 address, the undo dns server command removes all DNS server IPv4 addresses on the public
network or the specified VPN.
Syntax
dns server ip-address [ vpn-instance vpn-instance-name ]