Ip Host; Reset Dns Dynamic-Host - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

No DNS server is specified by default.
You can configure a maximum of six DNS servers, including those with IPv6 addresses.
Related commands: display dns server.
Examples
# Specify the DNS server 172.16.1.1.
<Sysname> system-view
[Sysname] dns server 172.16.1.1

ip host

Syntax
ip host hostname ip-address
undo ip host hostname [ ip-address ]
View
System view
Default Level
2: System level
Parameters
hostname: Host name, consisting of 1 to 20 characters, including case-insensitive letters, numbers,
hyphens (-), underlines (_), or dots (.). The host name must include at least one letter.
ip-address: IP address of the specified host in dotted decimal notation.
Description
Use the ip host command to create a host name to IP address mapping in the static resolution table.
Use the undo ip host command to remove a mapping.
No mappings are created by default.
You can configure only one mapping for a host name. A mapping newly configured for 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 dynamic-host

Syntax
reset dns dynamic-host
9-7

Advertisement

Table of Contents
loading

Table of Contents