configure dns cache analytics

configure dns cache analytics [{timeout minutes} {max-entries max_entries}]

Description

Configures Domain Name System (DNS) cache analytics.

Syntax Description

dns Domain Name System.
cache Specifies DNS cache.
analytics Specifies configuring DNS analytics.
timeout Specifies setting the timeout period for analyzed DNS queries. After this time, existing entries are flushed.
minutes Specifies the timeout value in minutes. The range is 1 to 1,440. The default is 1,440.
max-entries Specifies the maximum number of analyzed DNS queries in the database. When this limit is met, new entries start replacing old entries.
max_entries Specifies the value for the maximum analyzed queries. The range is 1,000 to 10,000. The default is 10,000.

Default

The default for the timeout period is 1,440 minutes.

The default for the maximum number of entries is 10,000.

Usage Guidelines

If query Q1 is learned at time t1 and the timeout period is configured as 5 minutes, this entry is removed within t1 + 5 minutes.

To manually clear the DNS cache analytics, use the command clear dns cache analytics entries {{vr} vr_name}.

Example

The following example sets the maximum number of entries to 2,000:

# configure dns cache analytics max-entries 2000

The following example sets the timeout period to 500 minutes:

# configure dns cache analytics timeout 500

History

This command was first available in ExtremeXOS 30.3.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.