Configuring Dns; Setting Up And Enabling Dns - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Configuring DNS

Configuring DNS
The following sections describe how to configure DNS:

Setting Up and Enabling DNS

To set up and enable DNS on the switch, perform this task in privileged mode:
Task
Step 1
Specify the IP address of one or more DNS
servers.
Step 2
Set the domain name.
Step 3
Enable DNS.
Step 4
Verify the DNS configuration.
This example shows how to set up and enable DNS on the switch and verify the configuration:
Console> (enable) set ip dns server 10.2.2.1
10.2.2.1 added to DNS server table as primary server.
Console> (enable) set ip dns server 10.2.24.54 primary
10.2.24.54 added to DNS server table as primary server.
Console> (enable) set ip dns server 10.12.12.24
10.12.12.24 added to DNS server table as backup server.
Console> (enable) set ip dns domain corp.com
Default DNS domain name set to corp.com
Console> (enable) set ip dns enable
DNS is enabled
Console> (enable) show ip dns
DNS is currently enabled.
The default DNS domain name is: corp.com
DNS name server
----------------------------------------
dns_serv2
dns_serv1
dns_serv3
Console> (enable)
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
34-2
Setting Up and Enabling DNS, page 34-2
Clearing a DNS Server, page 34-3
Clearing the DNS Domain Name, page 34-3
Disabling DNS, page 34-3
Command
set ip dns server ip_addr [primary]
set ip dns domain name
set ip dns enable
show ip dns [noalias]
status
-------
primary
Chapter 34
Configuring DNS
78-12647-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents