30-3
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 30 Configuring DNS
Configuring DNS on the Switch
Console> (enable) show ip dns
DNS is currently enabled.
The default DNS domain name is: corp.com
DNS name server status
---------------------------------------- -------
dns_serv2
dns_serv1 primary
dns_serv3
Console> (enable)
Clearing a DNS Server
To clear the DNS servers from the DNS server table, perform this task in privileged mode:
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:
This example shows how to clear the default DNS domain name:
Console> (enable) clear ip dns domain
Default DNS domain name cleared.
Console> (enable)
Task Command
Step 1
Clear one or all of the DNS servers from the table. clear ip dns server [ip_addr | all]
Step 2
Verify the DNS configuration. show ip dns [noalias]
Task Command
Step 1
Clear the default DNS domain name. clear ip dns domain
Step 2
Verify the DNS configuration. show ip dns [noalias]