4
Command Line Interface
show dns cache
This command displays entries in the DNS cache.
Command Mode
Privileged Exec
Example
Console#show dns cache
NO
FLAG
TYPE
2
4
CNAME
3
4
CNAME
4
4
CNAME
5
4
CNAME
6
4
CNAME
7
4
CNAME
8
4
ALIAS
Console#
Field
NO
FLAG
TYPE
IP
TTL
DOMAIN
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
Console#
4-142
IP
66.218.71.84
66.218.71.83
66.218.71.81
66.218.71.80
66.218.71.89
66.218.71.86
POINTER TO:7
Table 4-47 show dns cache - display description
Description
The entry number for each resource record.
The flag is always "4" indicating a cache entry and therefore unreliable.
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.
The IP address associated with this record.
The time to live reported by the name server.
The domain name associated with this record.
IP
TTL
DOMAIN
298
www.yahoo.akadns.net
298
www.yahoo.akadns.net
298
www.yahoo.akadns.net
298
www.yahoo.akadns.net
298
www.yahoo.akadns.net
298
www.yahoo.akadns.net
298
www.yahoo.com
TTL
DOMAIN