![background image](http://html1.mh-extra.com/html/smc-networks/8708l2/8708l2_management-manual_1300245575.webp)
DNS C
OMMANDS
4-285
ip host
This command creates a static entry in the DNS table that maps a host
name to an IP address. Use the
no
form to remove an entry.
Syntax
[
no
]
ip host
name
address1
[
address2
…
address8
]
• name
- Name of the host. (Range: 1-64 characters)
•
address1
- Corresponding IP address.
•
address2
…
address8
- Additional corresponding IP addresses.
Default Setting
No static entries
Command Mode
Global Configuration
Command Usage
Servers or other network devices may support one or more
connections via multiple IP addresses. If more than one IP address is
associated with a host name using this command, a DNS client can try
each address in succession, until it establishes a connection with the
target device.
ip
domain-lookup
Enables DNS-based host name-to-address
translation
GC
4-290
show hosts
Displays the static host name-to-address
mapping table
PE
4-291
show dns
Displays the configuration for DNS services
PE
4-292
show dns cache Displays entries in the DNS cache
PE
4-292
clear dns cache Clears all entries from the DNS cache
PE
4-293
Table 4-73 DNS Commands
(Continued)
Command
Function
Mode Page
Summary of Contents for 8708L2
Page 2: ......
Page 24: ...TABLES xxiv ...
Page 28: ...FIGURES xxviii ...
Page 290: ...CONFIGURING THE SWITCH 3 238 ...
Page 584: ...COMMAND LINE INTERFACE 4 294 ...
Page 592: ...TROUBLESHOOTING B 4 ...
Page 605: ......