CLI Reference Guide-R07

Table Of Contents
Chapter 25
| Domain Name Service Commands
DNS Commands
– 624 –
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 IP Address TTL Host
------- ------- ------- --------------- ------- --------
3 4 Host 209.131.36.158 115 www-real.wa1.b.yahoo.com
4 4 CNAME POINTER TO:3 115 www.yahoo.com
5 4 CNAME POINTER TO:3 115 www.wa1.b.yahoo.com
Console#
Table 126: show dns cache - display 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 “Host” which specifies the primary name for the owner, and
“CNAME” which specifies multiple domain names (or aliases) which are
mapped to the same IP address as an existing entry.
IP Address The IP address associated with this record.
TTL The time to live reported by the name server.
Host The host name associated with this record.