# dnscheck

Source: https://www.pingtower.com/docs/addons/dnscheck/

Resolve a name, optionally against a specific resolver, and check what came back.

## Parameters

| Parameter | Default | Meaning |
| --- | --- | --- |
| `name`<span class="req">REQUIRED</span> | | The name to resolve. |
| `type` | `A` | Record type. |
| `resolver` | system | `host:port` of the resolver to ask. |
| `expect` | | A value that must appear among the answers, else **down**. |
| `max_resolve` | | Resolve time above this is **degraded**. |

## Measurements

`resolve_ms`, `answers` (count). The answers themselves are in the event message.
