Dns Proxy Enable - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

Parameters
host host-name
include letters, digits, hyphens (-), underscores (_), and dots (.), for example, www.aabbcc.com. The
domain name can include a maximum of 253 characters, and each separated string includes no
more than 63 characters.
vpn-instance vpn-instance-name
case-sensitive string of 1 to 31 characters. To specify a domain name on the public network, do not
specify this option.
aging-time time-value
argument is 1 to 604800.
aging-time infinite
Usage guidelines
The DNS server determines how long a DNS entry is valid, and the DNS cache device and DNS
client obtain the aging information from DNS responses. To set the aging time, execute the
host aging-time
With this command configured, the device searches the DNS cache and dynamic domain name
resolution cache, and changes the TTL in all entries into the specified aging time.
To restore the default, execute the
time is the original TTL in the DNS reply. The corresponding DNS entry is removed if the original TTL
expires after executing the command.
You can set a maximum of 256 times of aging time for domain names.
Examples
# Set the aging time for domain name www.aabbcc.com on the public network to 3600 seconds.
<Sysname> system-view
[Sysname] dns host www.aabbcc.com aging-time 3600
Related commands
display arp timer aging

dns proxy enable

Use
dns proxy enable
Use
undo dns proxy enable
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.
: Specifies a domain name. It is a dot-separated, case-insensitive string that can
: Specifies the aging time in seconds. The value range for this
: Specifies a permanently valid domain name.
command.
undo dns host aging-time
to enable DNS proxy.
to disable DNS proxy.
: Specifies an MPLS L3VPN instance by its name, a
7
command. The restored aging
dns

Advertisement

Table of Contents
loading

Table of Contents