show dns
This command displays the configuration of the DNS service.
Command Mode
Privileged Exec
Example
Console#show dns
Domain Lookup Status:
DNS enabled
Default Domain Name:
sample.com
Domain Name List:
sample.com.jp
sample.com.uk
Name Server List:
192.168.1.55
10.1.0.55
Console#
show dns cache
This command displays entries in the DNS cache.
Command Mode
Privileged Exec
Example
Console#show dns cache
NO FLAG TYPE DOMAIN TTL
IP
199.239.136.200
6
1
.
2
1
3
.
1
8
9
.
1
2
0
Address www.times.com 198
Addr
e
s
s
a
1
1
1
6
.
x
.
a
k
a
m
a
i
.
n
e
t
1
9
Address a1116.x.akamai.net 19 61.213.189.104
CNAME graphics8.nytimes.com 19 POINTER TO:2
CNAME graphics478.nytimes.com.edgesui 19 POINTER TO:2
Table 38-2 show dns cache - display description
0 4
1 4
2 4
3 4
4 4
Console#
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 ADDRESS which specifies the host address for the owner, and
CNAME which specifies an alias.
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.
38-7
show dns
38