D
OMAIN

N

AME

S

ERVICE

17-4

CLI - This example sets a default domain name and a domain list.
However, remember that if a domain list is specified, the default domain
name is not used.
Configuring Static DNS Host to Address Entries
You can manually configure static entries in the DNS table that are used to
map domain names to IP addresses.
Command Usage
Static entries may be used for local devices connected directly to the
attached network, or for commonly used resources located elsewhere on
the network.
Servers or other network devices may support on e or more connections
via multi ple IP a ddress es. If mo re than one IP ad dress i s assoc iated w ith
a host name in the static table or via information returned from a name
server, a DNS client can try each address in succession, until it
establishes a connection with the target device.
Console(config)#ip domain-name sample.com 36-4
Console(config)#ip domain-list sample.com.uk 36-5
Console(config)#ip domain-list sample.com.jp
Console(config)#ip name-server 192.168.1.55 10.1.0.55 36-6
Console(config)#ip domain-lookup 36-7
Console(config)#end
Console#show dns 36-9
Domain Lookup Status:
DNS Enabled
Default Domain Name:
sample.com
Domain Name List:
sample.com.uk
sample.com.jp
Name Server List:
192.168.1.55
10.1.0.55
Console#