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 nameDescription
Record typeThe resource record to query.
ServerThe nameserver to query.
PortThe port used to connect to the server.
ProtocolThe protocol (TCP, UDP) used to connect to the server.
Valid response codesThe set of response codes to accept.
Valid response matchesA series of validations to apply to the response.
IP versionThe internet protocol version to use (V4, V6 or any).

These configuration options don’t produce any additional labels in the resulting metrics.

Metrics

Metric nameDescription
probe_all_duration_secondsReturns how long the probe took to complete in seconds (histogram).
probe_all_successDisplays whether or not the probe was a success (summary).
probe_dns_additional_rrsReturns the number of entries in the additional resource record list.
probe_dns_answer_rrsReturns the number of entries in the answer resource record list.
probe_dns_authority_rrsReturns the number of entries in the authority resource record list.
probe_dns_duration_secondsDuration of DNS request by phase.
probe_dns_lookup_time_secondsReturns the time taken for probe DNS lookup in seconds.
probe_dns_query_succeededDisplays whether or not the query was executed successfully.
probe_duration_secondsReturns how long the probe took to complete in seconds.
probe_ip_addr_hashSpecifies the hash of the IP address. It’s useful to detect if the IP address changes.
probe_ip_protocolSpecifies whether probe IP protocol is IP4 or IP6.
probe_successDisplays whether or not the probe was a success.
sm_check_infoProvides information about a single check configuration.