show dns cache analytics statistics

show dns cache analytics statistics {client client_ip domain domain_name } {detail} {{vr} vr_name}}

Description

Shows Domain Name System (DNS) cache analytics statistics for clients on a virtual router (VR).

Syntax Description

dns Domain Name System.
cache DNS cache.
analytics Specifies showing information about the DNS cache analytics.
statistics Specifies showing information about the DNS cache analytics statistics.
client Specifies client statistics.
client_ip Specifies which client by IP address.
domain Specifies detailed domain.
domain_name Specifies the domain.
detail Displayed detailed statistics information.
vr Specifies showing DNS cache analytics statistics on a VR.
vr_name Specifies the VR name. If not specified, the VR of the current command context is used.

Default

If no VR name is specified, the VR of the current command context is used.

Usage Guidelines

This command displays DNS analytics statistics for a given VR. This command displays the total DNS queries received from clients, displaying IPv4 and IPv6 queries separately. For a specific client IP address, this command displays domain names queried by the client, number of DNS queries received for the domains, and the time stamp of the last received DNS query. Also, for a particular domain, it displays a detailed view of the specific domain with all the DNS query time stamps separately for IPv4 and IPv6.

Example

The following example shows DNS cache analytics statistics for all clients on the current VR:

# show dns cache analytics statistics
DNS Cache             : Enabled
DNS Cache Analytics   : Enabled
 
                                              # IPv4      # IPv6
Client IP                                    Queries     Queries
----------------------------------------  ----------  ----------
10.127.2.251                                   21928        2682

The following example shows DNS cache analytics statistics for the client at IP address "1.1.1.1" at domain "wwww.aaaaa.com" on the current VR:

# show dns cache analytics statistics  client 1.1.1.1 domain www.aaaaa.com
DNS Cache           : Enabled
DNS Cache Analytics : Enabled
 
Domain Name                     Query Type       Query Time
------------------------------  ---------------  ------------------------------
www.aaaaa.com                   IPv4 [A]         Thu Jan 15 06:56:07 1970
                                IPv4 [A]         Thu Jan 15 06:56:07 1970
 
Number of DNS IPv4 [A] Queries: 2
Number of DNS IPv6 [AAAA] Queries: 0
 
Flags: > – Indicates Domain Name is truncated past 44 characters.

The following example shows detailed DNS cache analytics statistics for the client at IP address "10.127.2.200" on the current VR:

# show dns cache analytics statistics client 10.127.2.200 detail
Domain Name          : geo.yahoo.com
# IPv4 Queries       : 1
# IPv6 Queries       : 0
Last IPv4 Query Time : Fri Jan  4 06:48:56 2019
Last IPv6 Query Time :
 
Domain Name          : acdn.adnxs.com
# IPv4 Queries       : 1
# IPv6 Queries       : 0
Last IPv4 Query Time : Fri Jan  4 06:48:59 2019
Last IPv6 Query Time :
 
Domain Name          : cdn.adnxs.com
# IPv4 Queries       : 1
# IPv6 Queries       : 0
Last IPv4 Query Time : Fri Jan  4 06:48:59 2019
Last IPv6 Query Time :
 
Domain Name          : sync.adaptv.advertising.com
# IPv4 Queries       : 1
# IPv6 Queries       : 0
Last IPv4 Query Time : Fri Jan  4 06:49:02 2019
Last IPv6 Query Time :
 
Domain Name          : ocsp.digicert.com
# IPv4 Queries       : 1
# IPv6 Queries       : 0
Last IPv4 Query Time : Fri Jan  4 06:49:02 2019
Last IPv6 Query Time :
 
Domain Name          : teredo.ipv6.microsoft.com
# IPv4 Queries       : 1
# IPv6 Queries       : 0
Last IPv4 Query Time : Fri Jan  4 06:49:18 2019
Last IPv6 Query Time :

The following example shows DNS cache analytics statistics for the domain "www.google.com" on the current VR:

# show dns cache analytics statistics domain www.google.com
                                                                                # IPv4      # IPv6
VR Name                           Client IP                                    Queries     Queries
--------------------------------  ----------------------------------------  ----------  ----------
VR-Default                        192.168.1.1                                         1          1
Durga                             192.168.2.1                                         2          0
                

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.