show dns cache

Description                                                    Display DNS caching information.

Syntax                                                                  show dns cache {client | entry | statistics}

Parameter

Description

client

DNS client statistics.

entry

DNS cache entries.

statistics

DNS caching statistics.

Mode                                                                   All

Example                                                            The following command shows DNS caching statistics:

ACOS#show dns cache statistics

Total allocated: 0

Total freed: 0

Total query: 0

Total server response: 0

Total cache hit: 0

Query not passed: 0

Response not passed: 0

Query exceed cache size: 0

Response exceed cache size: 0

Response answer not passed: 0

Query encoded: 0

Response encoded: 0

Query with multiple questions: 0

Response with multiple questions: 0

Response with multiple answers: 0

Response with short TTL: 0

Total aged out: 0

Total aged for lower weight: 0

Total stats log sent: 0

******The following counters are global to system and not per parti­tion*****

Current allocate: 0

Current data allocate: 0

The following table describes the fields in the command output.

Field

Description

Total Allocated

Total memory allocated for cached entries.

Total Freed

Total memory freed.

Total Query

Total number of DNS queries received by the ACOS device.

Total Server Response

Total number of responses form DNS servers received by the ACOS device.

Total Cache Hit

Total number of times the ACOS device was able to use a cached reply in response to a query.

Query Not Passed

Number of queries that did not pass a packet sanity check.

Response Not Passed

Number of responses that did not pass a packet sanity check. The ACOS device checks the DNS header and question in the packet, but does not parse the entire packet.

Query Exceed Cache Size

Number of queries that were not cached because they had a payload greater than the maximum size of 512 bytes.

Response Exceed Cache Size

Number of responses that were not cached because they had a payload greater than the maximum size of 512 bytes.

Response Answer Not Passed

Number of responses that were not cached because they were malformed DNS responses.

Query Encoded

Number of queries that were not cached because the domain name in the ques­tion was encoded in the DNS query packet.

Response Encoded

Number of queries that were not cached because the domain name in the ques­tion was encoded in the DNS response packet.

Query With Multiple Questions

Number of queries that were not cached because they contained multiple ques­tions.

Response With Multiple Questions

Number of responses that were not cached because they contained answers for multiple questions.

Response With Multiple Answers

Number of responses that were not cached because they contained more than one answer.

Response with Short TTL

Number of responses that had a short time to live (TTL).

Total Aged Out

Total number of DNS cache entries that have aged out of the cache.

Total Aged for Lower Weight

Number of cache entries aged out due to their weight value.

Total Stats Log Sent

Total number of logs sent.

Current Allocate

Current memory allocation.

Current Data Allocate

Current data allocation.

Table of Contents

Index

Glossary

-Search-

Back