H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – DNS
H3C S7500 Series Ethernet Switches Chapter 1 DNS Configuration Commands
1-7
Description
Use the ip host command to add a hostname-to-IP address mapping entry in the static
DNS list.
Use the undo ip host command to remove a mapping entry from the static DNS list.
By default, there is no entry in the static DNS list.
One hostname can be mapped to only one IP address. When you add multiple
hostname-to-address mapping entries with the same hostname, only the last one will
be valid.
Related commands: display ip host.
Examples
# Configure a mapping entry from the host named aaa to the IP address 10.110.0.1
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ip host aaa 10.110.0.1
1.1.9 reset dns dynamic-host
Syntax
reset dns dynamic-host
View
User view
Parameters
None
Description
Use the reset dns dynamic-host command to clear the dynamic DNS cache.
Related commands: display dns dynamic-host.
Examples
# Clear the dynamic DNS cache.
<H3C> reset dns dynamic-host