CLI Reference Guide-R04

Table Of Contents
Chapter 29
| Domain Name Service Commands
– 862 –
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
------- ------- ------- --------------- ------- --------
0 4 Host 52.196.118.60 3501 www.accton.com
1 4 Host 166.62.56.229 21540 www.edge-core.com
2 4 Host 35.201.87.174 1787 ignitenet.com
3 4 CNAME POINTER TO:2 1787 www.ignitenet.com
Console#
show hosts This command displays the static host name-to-address mapping table.
Command Mode
Privileged Exec
Table 165: 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.