Cloudflare DNS Analytics
Monitor DNS performance and configuration using the DNS Analytics MCP server.
Available Tools
| Tool | Purpose |
|------|---------|
| zones_list | List all zones under the active account |
| dns_report | Get DNS performance report for a zone over a time period |
| show_account_dns_settings | View DNS settings at the account level |
| show_zone_dns_settings | View DNS settings for a specific zone |
Common Workflows
DNS Health Check
- Use
zones_listto identify zones - Use
dns_reportfor each zone to check performance - Review metrics for latency, query volume, errors
Configuration Audit
- Use
show_account_dns_settingsfor account-level settings - Use
show_zone_dns_settingsfor zone-specific settings - Compare settings across zones for consistency
Performance Investigation
- Identify the zone with
zones_list - Pull
dns_reportfor the relevant time frame - Analyze query patterns and response times
DNS Report Metrics
The DNS report typically includes:
- Query volume over time
- Response time distribution
- Query types (A, AAAA, CNAME, etc.)
- Response codes (NOERROR, NXDOMAIN, etc.)
- Geographic distribution
Integration with Workers
For Workers using custom domains:
- Verify zone configuration with
show_zone_dns_settings - Check DNS report for the zone
- Correlate with Workers observability data
Troubleshooting
| Issue | Investigation Steps |
|-------|---------------------|
| Slow DNS resolution | Check dns_report for latency metrics |
| Missing records | Verify show_zone_dns_settings |
| High error rates | Review response codes in dns_report |
| Zone not found | List zones with zones_list |
Tips
- Zone IDs from
zones_listare needed for other operations - DNS reports can span custom time ranges
- Account settings may override zone settings
- Use with observability tools for full-stack debugging
微信扫一扫