Menu
Grafana Cloud
DNS checks
DNS or domain name servers resolve a domain such as grafana.com to an IP address. This check ensures a domain resolves and measures the average time for the resolution to happen. DNS checks can be set up to validate against a specific DNS server and check for a specific kind of response.
Options
DNS checks have the following additional settings:
Option name | Description |
---|---|
Record type | The resource record to query |
Server | The nameserver to query |
Port | The port used to connect to the server |
Protocol | The protocol (TCP, UDP) used to connect to the server |
Valid response codes | The set of response codes to accept |
Valid response matches | A series of validations to apply to the response |
IP version | The Internet Procotol version to use (V4, V6 or any) |
These configuration options do not produce any additional labels in the resulting metrics.
Metrics
Metric name | Description |
---|---|
probe_all_duration_seconds | Returns how long the probe took to complete in seconds (histogram) |
probe_all_success | Displays whether or not the probe was a success (summary) |
probe_dns_additional_rrs | Returns number of entries in the additional resource record list |
probe_dns_answer_rrs | Returns number of entries in the answer resource record list |
probe_dns_authority_rrs | Returns number of entries in the authority resource record list |
probe_dns_duration_seconds | Duration of DNS request by phase |
probe_dns_lookup_time_seconds | Returns the time taken for probe dns lookup in seconds |
probe_dns_query_succeeded | Displays whether or not the query was executed successfully |
probe_duration_seconds | Returns how long the probe took to complete in seconds |
probe_ip_addr_hash | Specifies the hash of IP address. It’s useful to detect if the IP address changes. |
probe_ip_protocol | Specifies whether probe ip protocol is IP4 or IP6 |
probe_success | Displays whether or not the probe was a success |
sm_check_info | Provides information about a single check configuration |
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:

Getting started with your metrics, logs, and traces in Grafana Cloud
Learn to use the best open source observability software (Grafana, Prometheus, Loki, and Tempo) without the overhead of managing and scaling your own stack.

Kubernetes monitoring, out-of-the-box with Grafana Cloud
In this webinar you’ll learn how Grafana offers developers and SREs a simple and quick-to-value solution for monitoring their Kubernetes infrastructure.

Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.