show dns cache
This command displays entries in the DNS cache.
Command Mode
Privileged Exec
Example
Console#show dns cache
NO
FLAG
0
4
1
4
2
4
3
4
4
4
5
4
6
4
7
4
8
4
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
Console#
TYPE
IP
CNAME
10.2.44.96
CNAME
10.2.44.3
CNAME
66.218.71.84
CNAME
66.218.71.83
CNAME
66.218.71.81
CNAME
66.218.71.80
CNAME
66.218.71.89
CNAME
66.218.71.86
ALIAS
POINTER TO:7
Table 4-75. Show DNS Output 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.
TYPE
IP
TTL
DOMAIN
893
pttch_pc.accton.com.tw
898
ahten.accton.com.tw
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
4
DNS Commands
4-245