Clearing A Dns Server; Clearing The Dns Domain Name; Disabling Dns - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 34
Configuring DNS

Clearing a DNS Server

To clear DNS servers from the DNS server table, perform this task in privileged mode:
Task
Step 1
Remove one or all of the DNS servers from the
table.
Step 2
Verify the DNS configuration.
This example shows how to clear a DNS server from the DNS server table:
Console> (enable) clear ip dns server 10.12.12.24
10.12.12.24 cleared from DNS table
Console> (enable)
This example shows how to clear all of the DNS servers from the DNS server table:
Console> (enable) clear ip dns server all
All DNS servers cleared
Console> (enable)

Clearing the DNS Domain Name

To clear the default DNS domain name, perform this task in privileged mode:
Task
Step 1
Clear the default DNS domain name.
Step 2
Verify the DNS configuration.
This example shows how to clear the default DNS domain name:
Console> (enable) clear ip dns domain
Default DNS domain name cleared.
Console> (enable)

Disabling DNS

To disable DNS, perform this task in privileged mode:
Task
Step 1
Disable DNS on the switch.
Step 2
Verify the DNS configuration.
This example shows how to disable DNS on the switch:
Console> (enable) set ip dns disable
DNS is disabled
Console> (enable)
78-12647-02
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Command
clear ip dns server [ip_addr | all]
show ip dns [noalias]
Command
clear ip dns domain
show ip dns [noalias]
Command
set ip dns disable
show ip dns [noalias]
Configuring DNS
34-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents