103
Each host name can correspond to only one IPv4 address. The IPv4 address you last assign to the host
name will overwrite the previous one if there is any.
Related commands:
display ip host
.
Examples
# Map the IP address 10.110.0.1 to the host name aaa.
<Sysname> system-view
[Sysname] ip host aaa 10.110.0.1
reset dns host
Syntax
reset dns host
[
ip
|
ipv6
|
naptr
|
srv
]
View
User view
Default level
2: System level
Parameters
ip
: Clears the dynamic cache information of type A queries. A type A query resolves a domain name to
the mapped IPv4 address.
ipv6
: Clears the dynamic cache information of type AAAA queries. A type AAAA query resolves a
domain name to the mapped IPv6 address.
naptr
: Clears the dynamic cache information of NAPTR queries. A NAPTR query offers the replacement
rule of a character string to convert the character string to a domain name.
srv
: Clears the dynamic cache information of
SRV queries. An SRV query offers the domain name of a
certain service site.
Description
Use the
reset dns host
command to clear information of the dynamic DNS cache.
Without any keyword specified, the dynamic DNS cache information of all query types will be cleared.
Related commands:
display dns host
.
Examples
# Clear the dynamic DNS cache information of all query types.
<Sysname> reset dns host