Command Manual – DNS
H3C S7500E Series Ethernet Switches
Chapter 1 DNS Configuration Commands
1-6
View
System view
Parameters
domain-name
: Domain name suffix, consisting of character strings separated by a dot
(for example, aabbcc.com). Each separated string contains no more than 63 characters.
A domain name suffix may include case-insensitive letters, digits, hyphens (-),
underscores (_), and dots (.), with a total length of 238 characters.
Description
Use the
dns domain
command to configure a domain name suffix. The system can
automatically add the suffix to part of the domain name you entered for resolution.
Use the
undo dns domain
command to delete a domain name suffix (with a domain
name suffix specified) or all domain name suffixes (with no domain name suffix
specified).
No domain name suffix is configured by default.
You can configure a maximum of 10 domain name suffixes.
Related commands:
display dns domain
.
Examples
# Configure com as a DNS suffix.
[Sysname] dns domain com
1.1.7 dns proxy enable
Syntax
dns proxy enable
undo dns proxy enable
View
System view
Parameters
None
Description
Use the
dns proxy enable
command to enable DNS proxy.
Use the
undo dns proxy enable
command to disable DNS proxy.
By default, DNS proxy is disabled.