Understanding DNS Query Usage
Learn how to monitor your DNS query usage, understand excess volume charges, and access your billing history in DNScale.
DNScale tracks your DNS query usage to help you understand your traffic patterns and manage your subscription effectively. This guide explains how to view your current and historical usage, understand excess volume charges, and optimise your plan.
Accessing Usage Information
Your DNS usage information is available in the dashboard under the Usage tab. To access it:
- Log in to your DNScale dashboard
- Click on the Usage tab in the main navigation
- View your current month's usage summary and historical data
Usage Summary Card
The Usage Summary card displays your current billing period at a glance:
Key Metrics
- Total Queries β The number of DNS queries received across all your zones this billing period
- Included Queries β The query allowance included in your plan
- Usage Percentage β How much of your included allowance you've used
- Remaining β How many queries you have left before incurring excess volume charges
Status Indicators
The usage summary includes a status badge:
- Normal β Usage below 75% of your included queries
- High Usage β Usage between 75-90% of your included queries
- Near Limit β Usage between 90-100% of your included queries
- Over Limit β Usage exceeds your included queries (excess volume charges apply)
Excess Volume Explained
When your DNS query usage exceeds your plan's included allowance, you'll be charged for the additional queries at your plan's excess volume rate.
Excess Volume Rates by Plan
| Plan | Included Queries | Excess Volume Rate |
|---|---|---|
| Nano | 5 million/month | β¬0.20 per million |
| Pro | 25 million/month | β¬0.10 per million |
| Scale | 250 million/month | β¬0.10 per million |
Note: The Nano Free tier does not include excess volume billing. If you exceed your 1 million query limit, consider upgrading to a paid plan.
How Excess Volume is Calculated
Excess volume charges are calculated at the end of each billing period:
- Total queries for the month are summed across all zones
- Included queries are subtracted from the total
- Remaining queries (if positive) are the excess volume
- Excess volume is multiplied by your plan's per-million rate
Example: If you're on the Nano plan and use 7.5 million queries:
- Included: 5 million
- Excess volume: 2.5 million
- Charge: 2.5 Γ β¬0.20 = β¬0.50
Excess Volume Alert
When excess volume is detected, an alert appears in your Usage Summary:
Excess Volume Detected You have used X queries above your included limit. Estimated excess volume charge: β¬X.XX
This helps you anticipate your bill before the end of the billing period.
Query Trends Chart
The Query Trends chart shows your daily query volume over time. Use this to:
- Identify traffic patterns and peak usage days
- Spot unusual spikes that might indicate issues
- Plan capacity based on growth trends
You can hover over any day to see the exact query count.
Query Type Breakdown
The Query Types chart shows the distribution of DNS record types being queried:
- A β IPv4 address lookups
- AAAA β IPv6 address lookups
- CNAME β Canonical name lookups
- MX β Mail server lookups
- TXT β Text record lookups (SPF, DKIM, etc.)
- NS β Nameserver lookups
- Other β Less common record types
This helps you understand what types of DNS queries your domains receive.
Response Code Distribution
The Response Codes chart shows the outcome of DNS queries:
- NOERROR β Successful queries with valid responses
- NXDOMAIN β Queries for non-existent domains/records
- SERVFAIL β Server failures (should be minimal)
- REFUSED β Refused queries (policy-based rejections)
A healthy zone should have mostly NOERROR responses. High NXDOMAIN rates might indicate misconfigured clients or outdated references.
Usage by Zone
The Usage by Zone breakdown shows which zones consume the most queries. This helps you:
- Identify high-traffic zones that might need optimisation
- Understand traffic distribution across your domains
- Make informed decisions about zone-level caching or TTL settings
Billing History
The Billing History table shows your monthly usage and charges:
| Column | Description |
|---|---|
| Period | The billing month (e.g., "November 2024") |
| Total Queries | Total queries for that month |
| Included | Queries included in your plan |
| Excess Volume | Queries above your included limit |
| Charges | Excess volume charges for that month |
| Status | "Within Limit" or "Excess Volume" |
Viewing Past Months
By default, the last 12 months of billing history are displayed. Use the pagination to view older records if needed.
Pro-Rated Billing
If you signed up or changed plans mid-month, your usage may be pro-rated:
- Days Active β Days your account was active during the billing period
- Days in Month β Total days in the billing month
- Included Queries β Adjusted proportionally based on active days
For example, if you sign up on the 15th of a 30-day month on the Nano plan:
- Standard monthly allowance: 5 million queries
- Pro-rated allowance: 2.5 million queries (15/30 Γ 5M)
API Access to Usage Data
You can also retrieve usage data programmatically via the DNScale API:
Current Month Usage
GET /v1/usage/currentUsage Summary for Specific Month
GET /v1/usage/summary?month=2024-11Daily Usage Statistics
GET /v1/usage/daily?start_date=2024-11-01&end_date=2024-11-30Zone-Specific Usage
GET /v1/zones/{zone_id}/usage?start_date=2024-11-01&end_date=2024-11-30Billing History
GET /v1/billing/history?limit=12For API access, create an API key with the usage:read and billing:read scopes.
Tips for Managing Usage
Optimise TTL Values
Higher TTL (Time To Live) values reduce the number of queries by allowing clients to cache responses longer. Consider:
- Static content (A, AAAA records): 1 hour to 24 hours
- Dynamic content: 5-15 minutes
- Critical services: 5 minutes minimum for fast failover
Monitor Traffic Patterns
Regular monitoring helps you:
- Identify unexpected traffic spikes early
- Detect potential abuse or misconfigurations
- Plan for capacity needs before hitting limits
Choose the Right Plan
If you consistently hit your query limits, consider upgrading:
- Nano to Pro: 5Γ more queries at a lower excess volume rate
- Pro to Scale: 10Γ more queries for high-traffic needs
It's often more cost-effective to upgrade than pay consistent excess volume charges.
Need Help?
If you have questions about your usage or billing:
- Check the Support page for contact options
- Review your usage trends in the dashboard
- Consider upgrading if you're consistently near your limits
Conclusion
Understanding your DNS query usage helps you manage costs and ensure reliable DNS resolution for your domains. The DNScale dashboard provides comprehensive visibility into current and historical usage, making it easy to optimise your configuration and choose the right plan for your needs.