
Chapter 43: Domain Name Service Commands
– 1324 –
R
ELATED
C
OMMANDS
ip host
This command creates a static entry in the DNS table that maps a host
name to an IPv4 address. Use the
no
form to remove an entry.
S
YNTAX
[
no
]
ip host name
address
name
- Name of an IPv4 host. (Range: 1-100 characters)
address
- Corresponding IPv4 address.
D
EFAULT
S
ETTING
No static entries
C
OMMAND
M
ODE
Global Configuration
C
OMMAND
U
SAGE
Use the
no
ip host
command to clear static entries, or the
command to clear dynamic entries.
E
XAMPLE
This example maps an IPv4 address to a host name.
Console(config)#ip host rd5 192.168.1.55
Console(config)#end
Console#show hosts
No. Flag Type IP Address TTL Domain
---- ---- ------- -------------------- ----- ------------------------------
0 2 Address 192.168.1.55 rd5
Console#
ip name-server
This command specifies the address of one or more domain name servers
to use for name-to-address resolution. Use the
no
form to remove a name
server from this list.
S
YNTAX
[
no
]
ip name-server
server-address1
[
server-address2
…
server-address6
]
server-address1
- IPv4 or IPv6 address of domain-name server.
server-address2
…
server-address6
- IPv4 or IPv6 address of
additional domain-name servers.
D
EFAULT
S
ETTING
None
Summary of Contents for SSE-G2252
Page 42: ...44 General IP Routing on page 627...
Page 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Page 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Page 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Page 1007: ...Chapter 33 Address Table Commands 1019...
Page 1137: ...Chapter 38 Quality of Service Commands 1150...