DNS Response
The DNS Response check queries the resolver you define to make sure a record exists AND that the value in the response is correct. This is good for ensuring that important DNS records that should not change are quickly identified if they do. e.g. MX record takeovers.
Important
The Monitor Target attribute for this monitor type must be a DNS name. e.g. www.example.com
Monitor Specific Options
| Name | Description | Value Type | Example Value | Required |
|---|---|---|---|---|
| Record Type | The type of DNS record to query for. Types A, CNAME, MX, are supported | String | CNAME | TRUE |
| DNS Resolver IP | The IP address of the DNS server used for name resolution. | IP Address | 1.1.1.1 | TRUE |
| Expected DNS Response | The IP address or name that is expected to be in the DNS response | IP Address or DNS Name | 17.54.23.56 or mail.mydomain.com | TRUE |
| DNS Query Timeout | The time in seconds to wait for a response. Maximum 30sec. | Integer | 3 | TRUE |
Evaluation
No response or a failure to find a matching record and type to the Monitor Target is considered a failure.
Advanced Usage
Different DNS records like MX records for mail servers can have their response queried to expect more than just an IP or simple DNS name. If you configure the Record Type as “MX” and the Expected DNS Response as “10 mail1.mydomain.com.” this will ensure that your mail server record matches.