Configuring Domain Name Service 3

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.

Console(config)#ip domain-name sample.com

4-234

Console(config)#ip domain-list sample.com.uk

4-235

Console(config)#ip domain-list sample.com.jp

 

Console(config)#ip name-server 192.168.1.55 10.1.0.55

4-236

Console(config)#ip domain-lookup

4-236

Console#show dns

4-238

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#

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 one or more connections via multiple IP addresses. If more than one IP address is associated with 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.

Field Attributes

Host Name – Name of a host device that is mapped to one or more IP addresses. (Range: 1-64 characters)

IP Address – Internet address(es) associated with a host name. (Range: 1-8 addresses)

Alias – Displays the host names that are mapped to the same address(es) as a previously configured entry.

3-183

Page 227
Image 227
SMC Networks SMC8150L2 manual Configuring Static DNS Host to Address Entries, 238