C
OMMAND
L
INE
I
NTERFACE
4-166
clear dns cache
This command clears all entries in the DNS cache.
Command Mode
Privileged Exec
Example
Table 4-40 Show DNS Cache Field Description
Field Description
NO The entry number for each resource record.
FLAG The flag is always “4” indicating a cache entry and therefore
unreliable.
TYPE This field includes CNAME which specifies the canonical or
primary name for the owner, and ALIAS which specifies
multiple domain names which are mapped to the same IP
address as an existing entry.
IP The IP address associated with this record.
TTL The time to live reported by the name server.
DOMAIN The domain name associated with this record.
Console#clear dns cache
Console#show dns cache
NO FLAG TYPE IP TTL DOMAIN
Console#