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 Procotol version to use (V4, V6 or any)

These configuration options do not 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 number of entries in the additional resource record list
probe_dns_answer_rrsReturns number of entries in the answer resource record list
probe_dns_authority_rrsReturns 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 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