> ## Documentation Index
> Fetch the complete documentation index at: https://bunnynet-cb9733c2-docs-dns-cli-tabs-and-scriptable-types.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Statistics

> View DNS query statistics for your zone.

The Statistics page shows DNS query metrics for your zone, helping you understand traffic patterns and monitor usage.

## View statistics

<Tabs>
  <Tab title="Dashboard">
    To access your DNS statistics, go to **DNS**, select your DNS Zone, then click **Statistics** in the zone menu.
  </Tab>

  <Tab title="CLI">
    <Note>
      Don't have the CLI installed? See the [CLI quickstart](/cli/quickstart) to install and authenticate.
    </Note>

    View query statistics from the command line. Text mode draws a bar chart, and the range defaults to the last 30 days:

    ```bash theme={null}
    bunny dns zones stats example.com
    bunny dns zones stats example.com --from 2026-05-01 --to 2026-05-31
    bunny dns zones stats example.com --output json
    ```
  </Tab>
</Tabs>

## Queries served

The **Queries served** chart displays the total number of DNS queries handled by your zone over time. Use this to monitor overall traffic volume and identify patterns or spikes in activity.

## Queries by type

The **Queries by type** chart breaks down queries by record type (A, AAAA, CNAME, MX, TXT, etc.), showing which record types receive the most traffic.

## Filter by timeframe

Use the date picker in the top right to filter statistics by timeframe:

* Last 14 days
* Last 30 days
* Specific month
* Custom date range

Select your preferred range to analyze traffic patterns over different periods.
