4-23
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 4 Administering the Switch
Configuring a System Name and Prompt
Default DNS Configuration
shows the default DNS configuration.
Setting Up DNS
To set up your switch to use the DNS, perform this task:
Table 4-3
Default DNS Configuration
Feature
Default Setting
DNS enable state
Enabled.
DNS default domain name
None configured.
DNS servers
No name server addresses are configured.
Command
Purpose
Step 1
configure terminal
Enters global configuration mode.
Step 2
ip domain-name
name
Defines a default domain name that the software uses to complete unqualified
hostnames (names without a dotted-decimal domain name).
To remove a domain name, use the
no ip domain-name
name
global
configuration command.
Do not include the initial period that separates an unqualified name from the
domain name.
At boot time, no domain name is configured; however, if the switch
configuration comes from a BOOTP or Dynamic Host Configuration Protocol
(DHCP) server, then the default domain name might be set by the BOOTP or
DHCP server (if the servers were configured with this information).
Step 3
ip name-server
server-address1
[
server-address2 ...
server-address6
]
Specifies the address of one or more name servers to use for name and address
resolution.
To remove a name server address, use the
no ip name-server
server-address
global configuration command.
You can specify up to six name servers. Separate each server address with a
space. The first server specified is the primary server. The switch sends DNS
queries to the primary server first. If that query fails, the backup servers are
queried.
Step 4
ip domain-lookup
(Optional) Enables DNS-based hostname-to-address translation on your switch.
This feature is enabled by default.
To disable DNS on the switch, use the
no ip domain-lookup
global
configuration command.
If your network devices require connectivity with devices in networks for which
you do not control name assignment, you can dynamically assign device names
that uniquely identify your devices by using the global Internet naming scheme
(DNS).
Step 5
end
Returns to privileged EXEC mode.
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...