CLI Reference Guide-R07

Table Of Contents
Chapter 25
| Domain Name Service Commands
DNS Commands
– 623 –
clear dns cache This command clears all entries in the DNS cache.
Command Mode
Privileged Exec
Example
Console#clear dns cache
Console#show dns cache
No. Flag Type IP Address TTL Host
------- ------- ------- --------------- ------- --------
Console#
clear host This command deletes dynamic entries from the DNS table.
Syntax
clear host {name | *}
name - Name of the host. (Range: 1-127 characters)
* - Removes all entries.
Default Setting
None
Command Mode
Privileged Exec
Command Usage
Use the clear host command to clear dynamic entries, or the no ip host command
to clear static entries.
Example
This example clears all dynamic entries from the DNS table.
Console#clear host *
Console#