Azure DNS monitoring data reference

This article contains all the monitoring reference information for this service.

See Monitor Azure DNS for details on the data you can collect for Azure DNS and how to use it.

Metrics

This section lists all the automatically collected platform metrics for this service. These metrics are also part of the global list of all platform metrics supported in Azure Monitor.

For information on metric retention, see Azure Monitor Metrics overview.

Supported metrics for Microsoft.Network/dnsForwardingRulesets

The following table lists the metrics available for the Microsoft.Network/dnsForwardingRulesets resource type.

  • All columns might not be present in every table.
  • Some columns might be beyond the viewing area of the page. Select Expand table to view all available columns.

Table headings

  • Category - The metrics group or classification.
  • Metric - The metric display name as it appears in the Azure portal.
  • Name in REST API - The metric name as referred to in the REST API.
  • Unit - Unit of measure.
  • Aggregation - The default aggregation type. Valid values: Average (Avg), Minimum (Min), Maximum (Max), Total (Sum), Count.
  • Dimensions - Dimensions available for the metric.
  • Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
  • DS Export- Whether the metric is exportable to Azure Monitor Logs via diagnostic settings. For information on exporting metrics, see Create diagnostic settings in Azure Monitor.
Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Forwarding Rule Count

This metric indicates the number of forwarding rules present in each DNS forwarding ruleset.
ForwardingRuleCount Count Average, Minimum, Maximum, Count <none> PT1H, PT6H, PT12H, P1D No
Virtual Network Link Count

This metric indicates the number of associated virtual network links to a DNS forwarding ruleset.
VirtualNetworkLinkCount Count Average, Minimum, Maximum, Count <none> PT1H, PT6H, PT12H, P1D No

Supported metrics for Microsoft.Network/dnsResolverDomainLists

The following table lists the metrics available for the Microsoft.Network/dnsResolverDomainLists type.

  • All columns might not be present in every table.
  • Some columns might be beyond the viewing area of the page. Select Expand table to view all available columns.

Table headings

  • Category - The metrics group or classification.
  • Metric - The metric display name as it appears in the Azure portal.
  • Name in REST API - The metric name as referred to in the REST API.
  • Unit - Unit of measure.
  • Aggregation - The default aggregation type. Valid values: Average (Avg), Minimum (Min), Maximum (Max), Total (Sum), Count.
  • Dimensions - Dimensions available for the metric.
  • Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
  • DS Export- Whether the metric is exportable to Azure Monitor Logs via diagnostic settings. For information on exporting metrics, see Create diagnostic settings in Azure Monitor.
Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Domain List Rule Count

This metric indicates the number of domain list present in each DNS Resolver Domain List.
DomainListRuleCount Count Average, Minimum, Maximum, Count <none> PT1H, PT6H, PT12H, P1D Yes
Number Of Domains Count

This metric indicates the number of domains in a DNS Resolver Domain List.
NumberOfDomainsCount Count Average, Minimum, Maximum, Count <none> PT1H, PT6H, PT12H, P1D Yes

Supported metrics for Microsoft.Network/dnsResolverPolicies

The following table lists the metrics available for the Microsoft.Network/dnsResolverPolicies type.

  • All columns might not be present in every table.
  • Some columns might be beyond the viewing area of the page. Select Expand table to view all available columns.

Table headings

  • Category - The metrics group or classification.
  • Metric - The metric display name as it appears in the Azure portal.
  • Name in REST API - The metric name as referred to in the REST API.
  • Unit - Unit of measure.
  • Aggregation - The default aggregation type. Valid values: Average (Avg), Minimum (Min), Maximum (Max), Total (Sum), Count.
  • Dimensions - Dimensions available for the metric.
  • Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
  • DS Export- Whether the metric is exportable to Azure Monitor Logs via diagnostic settings. For information on exporting metrics, see Create diagnostic settings in Azure Monitor.
Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Resolver Policy Rule Count

This metric indicates the number of rules present in each DNS Resolver Policy.
ResolverPolicyRuleCount Count Average, Minimum, Maximum, Count <none> PT1H, PT6H, PT12H, P1D Yes
Virtual Network Link Count

This metric indicates the number of associated virtual network links to a Resolver Policy.
ResolverPolicyVNetLinksCount Count Average, Minimum, Maximum, Count <none> PT1H, PT6H, PT12H, P1D Yes

Supported metrics for Microsoft.Network/dnsResolvers

The following table lists the metrics available for the Microsoft.Network/dnsResolvers type.

  • All columns might not be present in every table.
  • Some columns might be beyond the viewing area of the page. Select Expand table to view all available columns.

Table headings

  • Category - The metrics group or classification.
  • Metric - The metric display name as it appears in the Azure portal.
  • Name in REST API - The metric name as referred to in the REST API.
  • Unit - Unit of measure.
  • Aggregation - The default aggregation type. Valid values: Average (Avg), Minimum (Min), Maximum (Max), Total (Sum), Count.
  • Dimensions - Dimensions available for the metric.
  • Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
  • DS Export- Whether the metric is exportable to Azure Monitor Logs via diagnostic settings. For information on exporting metrics, see Create diagnostic settings in Azure Monitor.
Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Inbound Endpoint Count

This metric indicates the number of inbound endpoints created for a DNS Resolver.
InboundEndpointCount Count Average, Minimum, Maximum, Count <none> PT1H, PT6H, PT12H, P1D No
Outbound Endpoint Count

This metric indicates the number of outbound endpoints created for a DNS Resolver.
OutboundEndpointCount Count Average, Minimum, Maximum, Count <none> PT1H, PT6H, PT12H, P1D No
Queries Per Second

This metric indicates the queries per second for a DNS Resolver. (Can be aggregated per EndpointId)
QPS Count Average, Minimum, Maximum, Count, Total (Sum) EndpointId PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, PT24H No

Supported metrics for Microsoft.Network/dnszones

The following table lists the metrics available for the Microsoft.Network/dnszones type.

  • All columns might not be present in every table.
  • Some columns might be beyond the viewing area of the page. Select Expand table to view all available columns.

Table headings

  • Category - The metrics group or classification.
  • Metric - The metric display name as it appears in the Azure portal.
  • Name in REST API - The metric name as referred to in the REST API.
  • Unit - Unit of measure.
  • Aggregation - The default aggregation type. Valid values: Average (Avg), Minimum (Min), Maximum (Max), Total (Sum), Count.
  • Dimensions - Dimensions available for the metric.
  • Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
  • DS Export- Whether the metric is exportable to Azure Monitor Logs via diagnostic settings. For information on exporting metrics, see Create diagnostic settings in Azure Monitor.
Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Query Volume

Number of queries served for a DNS zone
QueryVolume Count Total (Sum) <none> PT1H No
Record Set Capacity Utilization

Percent of Record Set capacity utilized by a DNS zone
RecordSetCapacityUtilization Percent None, Average, Minimum, Maximum, Count <none> PT1H No
Record Set Count

Number of Record Sets in a DNS zone
RecordSetCount Count None, Average, Minimum, Maximum, Count <none> PT1H No

Supported metrics for Microsoft.Network/privateDnsZones

The following table lists the metrics available for the Microsoft.Network/privateDnsZones type.

  • All columns might not be present in every table.
  • Some columns might be beyond the viewing area of the page. Select Expand table to view all available columns.

Table headings

  • Category - The metrics group or classification.
  • Metric - The metric display name as it appears in the Azure portal.
  • Name in REST API - The metric name as referred to in the REST API.
  • Unit - Unit of measure.
  • Aggregation - The default aggregation type. Valid values: Average (Avg), Minimum (Min), Maximum (Max), Total (Sum), Count.
  • Dimensions - Dimensions available for the metric.
  • Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
  • DS Export- Whether the metric is exportable to Azure Monitor Logs via diagnostic settings. For information on exporting metrics, see Create diagnostic settings in Azure Monitor.
Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Query Volume

Number of queries served for a Private DNS zone
QueryVolume Count Total (Sum) <none> No
Record Set Capacity Utilization

Percent of Record Set capacity utilized by a Private DNS zone
RecordSetCapacityUtilization Percent None, Average, Minimum, Maximum, Count <none> No
Record Set Count

Number of Record Sets in a Private DNS zone
RecordSetCount Count None, Average, Minimum, Maximum, Count <none> No
Virtual Network Link Capacity Utilization

Percent of Virtual Network Link capacity utilized by a Private DNS zone
VirtualNetworkLinkCapacityUtilization Percent None, Average, Minimum, Maximum, Count <none> No
Virtual Network Link Count

Number of Virtual Networks linked to a Private DNS zone
VirtualNetworkLinkCount Count None, Average, Minimum, Maximum, Count <none> No
Virtual Network Registration Link Capacity Utilization

Percent of Virtual Network Link with auto-registration capacity utilized by a Private DNS zone
VirtualNetworkWithRegistrationCapacityUtilization Percent None, Average, Minimum, Maximum, Count <none> No
Virtual Network Registration Link Count

Number of Virtual Networks linked to a Private DNS zone with auto-registration enabled
VirtualNetworkWithRegistrationLinkCount Count None, Average, Minimum, Maximum, Count <none> No

Using Azure DNS metrics

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:

  • QueryVolume
  • RecordSetCount
  • RecordSetCapacityUtilization

Note

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.

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.

Query volume

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.

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, selectQuery Volume, and then select Sum from the drop-down for Aggregation.

Screenshot shows a graph of the Query Volume metric in the Azure portal.

Record Set Count

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.

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.

Select your DNS zone from the Resource drop-down, select the Record Set Count metric, and then select Max as the Aggregation.

Screenshot shows a graph of the Record Set Count metric in the Azure portal.

Record Set Capacity Utilization

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 section. The unit of measurement is a Percentage and the aggregation type is Maximum.

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.

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.

Screenshot shows a graph of the Record Set Capacity Utilization metric in the Azure portal.

Metric dimensions

For information about what metric dimensions are, see Multi-dimensional metrics.

This service has the following dimensions associated with its metrics.

  • EndpointId

Resource logs

This section lists the types of resource logs you can collect for this service. The section pulls from the list of all resource logs category types supported in Azure Monitor.

Supported resource logs for Microsoft.Network/dnsResolverPolicies

Category Category display name Log table Supports basic log plan Supports ingestion-time transformation Example queries Costs to export
DnsResponse DNS Response DNSQueryLogs

DNS query logs enable customers to monitor the DNS traffic in their virtual networks and help securing their DNS infrastructure.

Yes No Queries Yes

Azure Monitor Logs tables

This section lists the Azure Monitor Logs tables relevant to this service, which are available for query by Log Analytics using Kusto queries. The tables contain resource log data and possibly more depending on what is collected and routed to them.

Azure DNS Microsoft.Network/dnsResolverPolicies

Activity log

The linked table lists the operations that can be recorded in the activity log for this service. These operations are a subset of all the possible resource provider operations in the activity log.

For more information on the schema of activity log entries, see Activity Log schema.