Command Manual - DNS
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 DNS Configuration Commands
Huawei Technologies Proprietary
1-4
Example
# Display the host names and corresponding IP addresses in the static domain name
resolution resolving list.
<Quidway> display ip host
Host
Age
Flags
Address
My 0
static
1.1.1.1
Aa 0
static
2.2.2.4
Table 1-4
Description on fields of the
display ip host
command
Field
Description
Host Host
name
Age
Time to live. 0 means the static list is never outdated.
You can only manually remove the mappings between
host names and IP addresses.
Flags
Mapping types between host names and IP addresses.
Static is the type for static domain name resolution
Address
Host IP addresses
1.1.5 dns domain
Syntax
dns domain domain-name
undo dns domain
[
domain-name
]
View
System view
Parameter
domain-name
: DNS suffixes, comprises 1 to 60 characters, including letters, numbers,
hyphens (-), underscores (_), and dots (.).
Description
Use the
dns domain
command to configure the DNS suffixes.
Use the
undo dns domain
command to delete the DNS suffixes.
No DNS suffixes are configured by default.
You can configure maximum 10 DNS suffixes. You must input the suffix name to delete
it, otherwise, all the statically configured suffixes are deleted.
Related command:
display dns domain
.