|
| 1 | +--- |
| 2 | +title: Monitoring data reference for Azure DNS |
| 3 | +description: This article contains important reference material you need when you monitor Azure DNS by using Azure Monitor. |
| 4 | +ms.date: 01/06/2025 |
| 5 | +ms.custom: horz-monitor |
| 6 | +ms.topic: reference |
| 7 | +author: greg-lindsay |
| 8 | +ms.author: greglin |
| 9 | +ms.service: azure-dns |
| 10 | +--- |
| 11 | + |
| 12 | +# Azure DNS monitoring data reference |
| 13 | + |
| 14 | +[!INCLUDE [horz-monitor-ref-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-intro.md)] |
| 15 | + |
| 16 | +See [Monitor Azure DNS](monitor-dns.md) for details on the data you can collect for Azure DNS and how to use it. |
| 17 | + |
| 18 | +[!INCLUDE [horz-monitor-ref-metrics-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-intro.md)] |
| 19 | + |
| 20 | +### Supported metrics for Microsoft.Network/dnsForwardingRulesets |
| 21 | + |
| 22 | +The following table lists the metrics available for the Microsoft.Network/dnsForwardingRulesets resource type. |
| 23 | + |
| 24 | +[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)] |
| 25 | + |
| 26 | +[!INCLUDE [Microsoft.Network/dnsForwardingRulesets](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/metrics/microsoft-network-dnsforwardingrulesets-metrics-include.md)] |
| 27 | + |
| 28 | +### Supported metrics for Microsoft.Network/dnsResolverDomainLists |
| 29 | + |
| 30 | +The following table lists the metrics available for the Microsoft.Network/dnsResolverDomainLists type. |
| 31 | + |
| 32 | +[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)] |
| 33 | + |
| 34 | +[!INCLUDE [Microsoft.Network/dnsResolverDomainLists](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/metrics/microsoft-network-dnsresolverdomainlists-metrics-include.md)] |
| 35 | + |
| 36 | +### Supported metrics for Microsoft.Network/dnsResolverPolicies |
| 37 | + |
| 38 | +The following table lists the metrics available for the Microsoft.Network/dnsResolverPolicies type. |
| 39 | + |
| 40 | +[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)] |
| 41 | + |
| 42 | +[!INCLUDE [Microsoft.Network/dnsResolverPolicies](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/metrics/microsoft-network-dnsresolverpolicies-metrics-include.md)] |
| 43 | + |
| 44 | +### Supported metrics for Microsoft.Network/dnsResolvers |
| 45 | + |
| 46 | +The following table lists the metrics available for the Microsoft.Network/dnsResolvers type. |
| 47 | + |
| 48 | +[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)] |
| 49 | + |
| 50 | +[!INCLUDE [Microsoft.Network/dnsResolvers](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/metrics/microsoft-network-dnsresolvers-metrics-include.md)] |
| 51 | + |
| 52 | +### Supported metrics for Microsoft.Network/dnszones |
| 53 | + |
| 54 | +The following table lists the metrics available for the Microsoft.Network/dnszones type. |
| 55 | + |
| 56 | +[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)] |
| 57 | + |
| 58 | +[!INCLUDE [Microsoft.Network/dnszones](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/metrics/microsoft-network-dnszones-metrics-include.md)] |
| 59 | + |
| 60 | +### Supported metrics for Microsoft.Network/privateDnsZones |
| 61 | + |
| 62 | +The following table lists the metrics available for the Microsoft.Network/privateDnsZones type. |
| 63 | + |
| 64 | +[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)] |
| 65 | + |
| 66 | +[!INCLUDE [Microsoft.Network/privateDnsZones](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/metrics/microsoft-network-privatednszones-metrics-include.md)] |
| 67 | + |
| 68 | +### Using Azure DNS metrics |
| 69 | + |
| 70 | +Azure DNS provides metrics for you to monitor specific aspects of your DNS zones. With the metrics in Azure DNS, you can configure alerting based on conditions that are met. Azure DNS provides the following metrics to Azure Monitor for your DNS zones: |
| 71 | + |
| 72 | +- QueryVolume |
| 73 | +- RecordSetCount |
| 74 | +- RecordSetCapacityUtilization |
| 75 | + |
| 76 | +> [!NOTE] |
| 77 | +> At this time, these metrics are only available for Public DNS zones hosted in Azure DNS. If you have Private Zones hosted in Azure DNS, these metrics don't provide data for those zones. In addition, the metrics and alerting feature is only supported in Azure Public cloud. Support for sovereign clouds will follow at a later time. |
| 78 | +
|
| 79 | +The most granular element that you can see metrics for is a DNS zone. You currently can't see metrics for individual resource records within a zone. |
| 80 | + |
| 81 | +#### Query volume |
| 82 | + |
| 83 | +The *Query Volume* metric shows the number of DNS queries received by Azure DNS for your DNS zone. The unit of measurement is `Count` and the aggregation is the `Sum` of all the queries received over a period of time. |
| 84 | + |
| 85 | +To view this metric, select **Metrics** explorer experience from the **Monitor** page in the Azure portal. Scope down to your DNS zone and then select **Apply**. In the drop-down for *Metrics*, select`Query Volume`, and then select `Sum` from the drop-down for *Aggregation*. |
| 86 | + |
| 87 | +:::image type="content" source="./media/dns-alerts-metrics/dns-metrics-query-volume.png" alt-text="Screenshot shows a graph of the Query Volume metric in the Azure portal." lightbox="./media/dns-alerts-metrics/dns-metrics-query-volume.png"::: |
| 88 | + |
| 89 | +### Record Set Count |
| 90 | + |
| 91 | +The *Record Set Count* metric shows the number of Record sets in Azure DNS for your DNS zone. All the Record sets defined in your zone are counted. The unit of measurement is `Count` and the aggregation is the `Maximum` of all the Record sets. |
| 92 | + |
| 93 | +To view this metric, select **Metrics** explorer experience from the **Monitor** tab in the Azure portal. Scope down to your DNS zone and then select **Apply**. In the drop-down for *Metrics*, select `Query Volume`, and then select `Sum` from the drop-down for *Aggregation*. |
| 94 | + |
| 95 | +Select your DNS zone from the **Resource** drop-down, select the **Record Set Count** metric, and then select **Max** as the **Aggregation**. |
| 96 | + |
| 97 | +:::image type="content" source="./media/dns-alerts-metrics/dns-metrics-record-set-count.png" alt-text="Screenshot shows a graph of the Record Set Count metric in the Azure portal." lightbox="./media/dns-alerts-metrics/dns-metrics-record-set-count.png"::: |
| 98 | + |
| 99 | +### Record Set Capacity Utilization |
| 100 | + |
| 101 | +The *Record Set Capacity Utilization* metric shows the percentage used of your Record set capacity for a DNS Zone. Each Azure DNS zone has a Recordset limit that defines the maximum number of Record sets allowed for the zone. For more information, see [DNS limits](dns-zones-records.md#limits) section. The unit of measurement is a `Percentage` and the aggregation type is `Maximum`. |
| 102 | + |
| 103 | +For example, if you have 500 Record sets configured in your DNS zone, and the zone has the default Record set limit of 5000. The RecordSetCapacityUtilization metric shows the value of 10%, which is obtained by dividing 500 by 5000. |
| 104 | + |
| 105 | +To view this metric, select **Metrics** explorer experience from the **Monitor** tab in the Azure portal. Scope down to your DNS zone and then select **Apply**. In the drop-down for *Metrics*, select `Record Set Capacity Utilization`, and then select `Sum` from the drop-down for *Aggregation*. |
| 106 | + |
| 107 | +:::image type="content" source="./media/dns-alerts-metrics/dns-metrics-record-set-capacity-uitlization.png" alt-text="Screenshot shows a graph of the Record Set Capacity Utilization metric in the Azure portal." lightbox="./media/dns-alerts-metrics/dns-metrics-record-set-capacity-uitlization.png"::: |
| 108 | + |
| 109 | +[!INCLUDE [horz-monitor-ref-metrics-dimensions-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions-intro.md)] |
| 110 | + |
| 111 | +[!INCLUDE [horz-monitor-ref-metrics-dimensions](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions.md)] |
| 112 | + |
| 113 | +- EndpointId |
| 114 | + |
| 115 | +[!INCLUDE [horz-monitor-ref-resource-logs](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-resource-logs.md)] |
| 116 | + |
| 117 | +### Supported resource logs for Microsoft.Network/dnsResolverPolicies |
| 118 | + |
| 119 | +[!INCLUDE [Microsoft.Network/dnsResolverPolicies](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/logs/microsoft-network-dnsresolverpolicies-logs-include.md)] |
| 120 | + |
| 121 | +[!INCLUDE [horz-monitor-ref-logs-tables](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-logs-tables.md)] |
| 122 | + |
| 123 | +### Azure DNS Microsoft.Network/dnsResolverPolicies |
| 124 | + |
| 125 | +- [AzureActivity](/azure/azure-monitor/reference/tables/azureactivity#columns) |
| 126 | +- [DNSQueryLogs](/azure/azure-monitor/reference/tables/dnsquerylogs#columns) |
| 127 | + |
| 128 | +[!INCLUDE [horz-monitor-ref-activity-log](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-activity-log.md)] |
| 129 | + |
| 130 | +- [Microsoft.Network resource provider operations](/azure/role-based-access-control/resource-provider-operations#microsoftnetwork) |
| 131 | + |
| 132 | +## Related content |
| 133 | + |
| 134 | +- See [Monitor Azure DNS](monitor-dns.md) for a description of monitoring Azure DNS. |
| 135 | +- See [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for details on monitoring Azure resources. |
0 commit comments