CLI Reference Guide-R02

Table Of Contents
Chapter 26
| Domain Name Service Commands
DNS Commands
– 771 –
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 IP Address TTL Host
------- ------- ------- --------------- ------- --------
Console#
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
------- ------- ------- --------------- ------- --------
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#